Re:Advanced JavaScript Techniques
by nkohari on Friday October 09, 2009 @01:21PM
(#871940)
I use this function to create namespaces:
For example: namespace("Zen.Ui");
[ Parent
| on HN ]
Re:Advanced JavaScript Techniques
by woadwarrior01 on Friday October 09, 2009 @06:20PM
(#872584)
YAHOO.namespace in YUI does the same thing, except that it creates everything under the YAHOO namespace.