Javascript libraries
Coexistence
|
Dojo |
ExtJS |
jQuery |
MooTools |
Prototype |
YUI |
| Dojo 1.6 |
- |
+ |
+ |
+ |
+ |
+ |
| ExtJS 3.1.0 |
+ |
- |
+ |
+ |
+ |
+ |
| jQuery 1.6.1 |
+ |
+ |
- |
(1) |
(2)(3) |
+ |
| MooTools 1.3.2 |
+ |
+ |
(1) |
- |
(4)(5) |
+ |
| Prototype 1.7.0.0 |
+ |
+ |
(2)(3) |
(4)(5) |
- |
+ |
| YUI 3.3.0 |
+ |
+ |
+ |
+ |
+ |
- |
- Global collision: $
- Prototype before jQuery gives instant error.
- Global collision: $
- Prototype before MooTools gives instant error.
- Global collisions: Class, $, $$
Global objects and functions
Needless to say, from the following overview it is clear that MooTools and Prototype pollute the global namespace. These are also the libraries that give collisions (i.e. with jQuery).
Dojo
ExtJS
jQuery
MooTools
- Browser
- MooTools
- Selectors
- Slick
- uid
- $constructor
- Chain
- Class
- Cookie
- Elements
- Events
- Fx
- Hash
- IFrame
- Options
- Request
- Swiff
- Type
- constructor
- $
- $$
- $A
- $H
- $arguments...$unlink
- Native
- *Event/Listener*
- cloneEvents
- eliminate
- get*
- instanceOf
- retrieve
- store
- typeOf
Prototype
- $break
- $continue
- Abstract
- Ajax
- Class
- Enumerable
- Field
- Form
- Insertion
- Position
- Prototype
- (Sizzle)
- Toggle
- Try
- Hash
- ObjectRange
- PeriodicalExecuter
- Selector
- Template
- $
- $$
- $A
- $F
- $H
- $R
- $w
YUI