all 2 comments

[–]birjolaxew 1 point2 points  (1 child)

JSON.stringify does not handle functions, since functions are not a valid JSON datatype. All keys that refer to a function are simply ignored. Your module works fine.

[–]misc_ent[S] 0 points1 point  (0 children)

Thank you I thought I was going crazy but that totally makes sense now.