`
zhangyaochun
  • 浏览: 2565822 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

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.$ = $;

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics