Backbone.noConflict

Backbone.noConflictvar backbone = Backbone.noConflict();
Returns the Backbone object back to its original value. You can use the return value of Backbone.noConflict() to keep a local reference to Backbone. Useful for embedding Backbone on third-party websites, where you don't want to clobber the existing Backbone.

var localBackbone = Backbone.noConflict();
var model = localBackbone.Model.extend(...);
doc_Backbone
2016-04-17 12:21:01
Comments
Leave a Comment

Please login to continue.