Javascript namespace pollution with domLib.js (mojavelinux.com) and
prototype.js (prototype.conio.net)
------------------------------------------------------------------------------------------------------
Key: TOMAHAWK-465
URL: http://issues.apache.org/jira/browse/TOMAHAWK-465
Project: MyFaces Tomahawk
Type: Bug
Versions: 1.1.4-SNAPSHOT, 1.1.3-SNAPSHOT, 1.1.1, 1.1.2
Environment: all
Reporter: Steven Cooke
domLib and prototype both use the symbol 'Hash' in the global namespace.
Including both leads to javascript errors. For example, including prototype
after domLib wipes out domLibs's definition and any call to new Hash() fails.
The best workaround I can think of is to use neither mojavelinux nor conio
javascript libraries and use dojo instead.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira