You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org> on 2006/06/12 07:26:30 UTC

[jira] Commented: (TOMAHAWK-465) Javascript namespace pollution with domLib.js (mojavelinux.com) and prototype.js (prototype.conio.net)

    [ http://issues.apache.org/jira/browse/TOMAHAWK-465?page=comments#action_12415818 ] 

Matthias Weßendorf commented on TOMAHAWK-465:
---------------------------------------------

dojo toolkit will be integrated
so no more worries abotu prototype.js



> 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.1, 1.1.3-SNAPSHOT, 1.1.2, 1.1.4-SNAPSHOT
>  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