欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

backbone之Backbone.$

程序员文章站 2022-04-28 23:25:43
...

 

   本文介绍一下 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 $