Javascript »

[11 Apr 2011 | 0 Comments]

Namespace your JavaScript...really? yes read on for a good technique to improve your scripting. Namespacing is a programming technique that protects your variables from other programs. Remember in a web page, all functions and variables share the same global namespace - that of the Window object. By putting your JavaScript in your own namespace you clearly ensure there are no conflicts with the global methods as well as other advantages. [More]