@thomthom said:
Javascript namespacing:
http://www.dustindiaz.com/namespace-your-javascript/
http://www.crockford.com/javascript/private.html
Thanks for that TT - all good stuff which I have implemented in part - still really trying to get to grips with it though.
But my current concern relates to this Diaz comment:
@unknownuser said:
... avoid conflicts with external application code, playing nice with the "other JavaScript kids," ...
I don't think relying on playing nice is realistic in a global environment but making sure same named objects and functions overwrite existing by loading or reloading immediately prior to use may be. I'm just not sure if there are other implications.
Thanks