Refactor Trinidad's JavaScript under a namespace and remove all global functions
--------------------------------------------------------------------------------
Key: TRINIDAD-1705
URL: https://issues.apache.org/jira/browse/TRINIDAD-1705
Project: MyFaces Trinidad
Issue Type: Improvement
Components: Components
Affects Versions: 1.2.13-core
Reporter: Andrew Robinson
Trinidad's JavaScript is hard to work with, there are many global functions
that could cause collisions with other javascript libraries and the files are
not named in such a way that makes maintenance easy (finding where code can be
found).
It would be nice to have a global "Trinadad" object (or just "Tr" if we can get
away with it) with all the objects under it much in the same way JSF 2 has done
jsf and jsf.ajax. Just looking at Core.js one can see the vast number of global
variables
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.