Skip to content

Commit f3e379d

Browse files
committed
Stop special-casing functions
Signed-off-by: Evangelos Lamprou <[email protected]>
1 parent 8878890 commit f3e379d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

index.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,11 @@ module.exports = function serialize(obj, options) {
271271
}
272272

273273
var fn = functions[valueIndex];
274+
if (type === 'F') {
275+
var fn = functions[valueIndex];
276+
return serializeFunc(fn);
277+
}
274278

275-
return serializeFunc(fn);
279+
return '';
276280
});
277281
}

0 commit comments

Comments
 (0)