You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this.serializeView=function(view){vardata={};// debug.log('serializeView', view)if(!_.isObject(view)){return{};}data.cid=view.cid;data.isLoading=false;// set when a view is registered, but not serializeddata.options=this.serializeObject(view.options);data.el=this.serializeElement(view.el,'el',false);data.events=serializeEventsHash(view.events);data._events=this.serializeEvents(view._events);data.properties=this.serializeObjectProperties(view);data.ancestorInfo=this.ancestorInfo(view);data._requirePath=view._requirePath;data._className=this.serializeClassName(view);data.parentClass=this.isKnownType(view) ? this.knownType(view).name : '';data.inspect=this.inspectValue(view);if(view.model){data.model={cid: view.model.cid};}returndata;}
The text was updated successfully, but these errors were encountered:
An interesting side effect of jashkenas/backbone#3455 is it should be pretty easy to extend any logic for "on events" (Backbone.Events) to any "listenTo events" as well.
The Marionette Inspector provides tons of metadata about view properties in the info panel.
Some properties that the inspector has which could easily be added to the debugger are:
Info Panel
Inspector serialize function
serializeView.js
The text was updated successfully, but these errors were encountered: