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 + + + + + -
  1. Global collision: $
  2. Prototype before jQuery gives instant error.
  3. Global collision: $
  4. Prototype before MooTools gives instant error.
  5. 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

Prototype

YUI