-
-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
This breaks with any Backbone view (I assume an example of a common type of object). For example, with backbone, in Chrome, in the console:
safeStringify = require('safe-json-stringify')
m = new Backbone.Model
v = new Backbone.View({ model: m })
safeStringify(v)Throws an error, "RangeError: Maximum call stack size exceeded"
With the model (m), interestingly, it doesn't throw an error, but it writes an empty object, "{}".
Is this supposed to work only on simple objects, not instances of pseudo-classes?
Thanks
Metadata
Metadata
Assignees
Labels
No labels