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
Currently this plugin will only support the following construct:
varview=Backbone.View.extend({ ... });
However, a lot of people create an object first, and then use extend on it.
varview={ ... };returnBackbone.View.extend(view);
In the case above, this plugin will not identify the view object as a Backbone View. It should be possible to add comments around an object, to specify that it's going to be Backbone View/Model/Collection like this:
/* Backbone.View */varview={ ... };/* Backbone.View end */returnBackbone.View.extend(view);
The text was updated successfully, but these errors were encountered:
Not that I would recommend trying to cover all cases, but for the simple cases, couldn't you use escope to read write references to the variable passed in to Backbone.View.extend (and similar)?
Currently this plugin will only support the following construct:
However, a lot of people create an object first, and then use extend on it.
In the case above, this plugin will not identify the
view
object as a Backbone View. It should be possible to add comments around an object, to specify that it's going to be Backbone View/Model/Collection like this:The text was updated successfully, but these errors were encountered: