admin管理员组

文章数量:1291043

Which JavaScript libraries take over the $ variable in the global scope?

If the library provides a different name on the global namespace, or provides a method to relinquish window.$, could you link to the proper function in their documentation any maybe a little code example of its use?

Having such a list could be useful in debugging potential conflicts with each other very quickly.

Which JavaScript libraries take over the $ variable in the global scope?

If the library provides a different name on the global namespace, or provides a method to relinquish window.$, could you link to the proper function in their documentation any maybe a little code example of its use?

Having such a list could be useful in debugging potential conflicts with each other very quickly.

Share Improve this question asked Jan 8, 2011 at 2:35 gnarfgnarf 106k26 gold badges128 silver badges161 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 10

Scanning this page, the only ones that e to mind are:

  • jQuery - Provides jQuery.noConflict() to release the $
  • Prototype
  • MooTools

Also zepto: http://zeptojs./

zepto actually matches most of the jQuery API.

本文标签: What JavaScript libraries are known to use the global dollar sign windowStack Overflow