VOOZH about

URL: https://www.geeksforgeeks.org/javascript/backbone-js-noconflict-utility/

⇱ Backbone.js noConflict Utility - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Backbone.js noConflict Utility

Last Updated : 23 Aug, 2022

The Backbone.js noConflict Utility is used when we want the Backbone object as its original value. We can use the return value of the Backbone of this function as a reference to the Backbone. 

Syntax: 

var backbone = Backbone.noConflict() ;

Parameter: This Function doesn't take any parameter. 

Example 1: In this example, we will illustrate Backbone.js noConflict Utility. We will gain the original value of Backbone.js with the help of conflict.

Output:

👁 Image
Backbone.js noConflict Utility

Example 2: In this example, we will use the return original value of Backbone and use its return value reference and create a new Model with it.

Output:

👁 Image
Backbone.js noConflict Utility

Reference: https://backbonejs.org/#Utility-Backbone-noConflict

Comment