Tuesday, December 13, 2011

Namespaces in JavaScript

Namespaces are one honking great idea. For years I've used namespaces in JavaScript, and I keep returning to my go-to script for handling this. It's pretty straightforward, and a quick search will return you dozens of alternatives. Regardless, here you go, enjoy:

https://gist.github.com/1440502

No comments: