SHARE
TWEET

Untitled




Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- /**
- * Creates a namespace.
- *
- * @return
- * The created namespace object.
- */
- function namespace () {
- var a=arguments, o=null, i, j, d;
- for (i=0; i<a.length; i=i+1) {
- d=a[i].split(".");
- o=window;
- for (j=0; j<d.length; j=j+1) {
- o[d[j]]=o[d[j]] || {};
- o=o[d[j]];
- }
- }
- return o;
- };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.