backbone之Backbone.$

 

   本文介绍一下 Backbone.$

 

  • If you have multiple copies of jQuery on the page, or simply want to tell Backbone to use a particular object as its DOM / Ajax library, this is the property for you.

   源码:

 

// For Backbone's purposes, jQuery, Zepto, Ender, or My Library (kidding) owns
// the `$` variable.

Backbone.$ = $;

 

你可能感兴趣的:(backbone,$)