What JavaScript structures conflict with each other?

There are times when I want to use mootool for certain things and Prototype and script.aculo.usfor others, but within the same site. I even thought about adding others, but was concerned about conflicts. Does anyone have experience, or am I just trying to make things too complicated for myself?

+5
source share
7 answers

If you really want to do this, you can do it without any problems - the main libraries should behave well inside their namespaces, with a few notable exceptions - from Using jQuery with other platforms :

jQuery jQuery. , "" jQuery, jQuery (, Prototype, MooTools YUI).

, : jQuery "$" "jQuery", .

, , , , , - , 6 , ! ( 1!) .

+7

AFAIK, . , , . . , .

+3

: jQuery Prototype Conflict

Prototype.js /. , , , Element ..

+1

. / , javascripts.

, Prototype JQuery . - JQuery.

0

, ( !) , , .

, , .

0

, javascript , . : , , , DOM .

0

My Framework Scanner JS/CSS :

http://mankz.com/code/GlobalCheck.htm

0
source

All Articles