Hopefully, this patch will be accepted. Allowing Prototype to play
nicely with others sounds like a great facility to me.
From a quick scan of the source, the following are added to the global
namespace ...
$, $$, $A, $break, $F, $H, $R, $w
Abstract, Ajax, Class, Enumerable, Event, Field, Form, Hash, Node,
ObjectRange, PeriodicalExecuter, Selector, Template, Try
By having these as aliases to the namespaced ones, theoretically,
there is no damage to userland code (there will always be edge cases
though).
So, having these capable of being removed by a Prototoype.noConflict()
is a good idea too.
For those not using another library, there is no need to call the
noConflict() and they can use the global namespaced created
references.
On the surface, this is a win-win situation.
+1
Richard "Occasional patcher" Quadling
--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"
Let's do this and then we'll rule the world--nay, the universe! THE
UNIVERSE, I SAY! MWAHAHAHAHHAHAHAAHAHAHA
(sorry, just got out of bed, but it *is* a possibility :))
-Nicolas