Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.2.13-core
-
None
-
None
Description
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