Backbone.js Utility

The Backbone.JS Utility class is a set of methods. These methods are used to manipulate, modify and utilise the Backbone.JS Utility.

Backbone.noConflict:
It is used to get the Backbone objects back to its original value. It also facilitates a facility to store reference to a backbone.

Syntax:

var variable1 = Backbone.noConflict();  
var variable2 = variable1.Model.extend(...);  

Backbone.$:
It is used to tell Backbone to use a particular object as its DOM / Ajax library.

Syntax:

Backbone.$ = require('jquery');