-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
Description
I was trying to upgrade from the original/old version of backbone-super to the latest and haven't been able to because fnTest is way too specific in simply looking for the string _super appearing in the function.
So if I have a simple method like this:
var _super = Backbone.RelationalModel;
var Model = _super.extend({
toContextJSON: function() {
var data = _super.prototype.toJSON.call(this);
// ...
}
});
Backbone-Super throws an error.
If I rename _super to be a different variable name, it stops complaining. This is a bug.
Reactions are currently unavailable