When I override the clone() method of a Backbone.Model, is there a way to call this overriden method from my implantation? Something like this:
var MyModel = Backbone.Model.extend({
clone: function(){
super.clone();//calling the original clone method
}
})
You’ll want to use:
This will call the original
clone()method fromBackbone.Modelwith the context ofthis(The current model).From Backbone docs: