Answer the question
In order to leave comments, you need to log in
How to view an object in marionette?
When I create an instance of a class from a view, I would like to see it through the console. To do this, I try to display it through console.log, but as a result I get the following error message:
<a class='gotoLine' href='#50:49'>50:49</a> Uncaught TypeError: Converting circular structure to JSON
--> starting at object with constructor 'n'
| property '_events' -> object with constructor 'Object'
| property 'before:attach' -> object with constructor 'Array'
| index 0 -> object with constructor 'Object'
--- property 'ctx' closes the circle
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question