Working With Mootools
MooTools will not work with most javascript libraries. The following list is just a really short example of what MooTools will not work with.
- Dojo
- Prototype
- jQuery (Might work with noConflict enabled.)
- YUI
What if you write your own library? Well, if you use any Class names such as Fx or Class or function names like $, you'll find your code or MooTools code borked. In addition to that, if you use native properties of _proto_, the prototypes in JavaScript, MooTools probably will break your code since MooTools modifies a lot of prototype stuff.
Discussion
The MooTools Team has a good reason for making MooTools work this way.
- Code would not be optimized if two libraries are included.
- Javascript naming conflicts are a pain.
- Development focus on playing nice rather then innovation.
There are other things, of course, but these are major ideas that the Team follows.
Continue to The Document Type