Ext

Use Namespaces to organize your JavaScript code

May 28, 2008 by Aaron Conran | 10 Comments »

In today’s modern web applications it is typical to include many libraries, widgets and snippets of code from many different sources. You must be mindful that other developers may be interacting with your code simply by both sets of code being included on the same page. It is not a safe assumption that you have the entire global namespace at your disposal.



© 2006-2008 Ext, LLC