You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
_global_ = this;
|
|
|
|
function Namespace(name, f) {
|
|
var n = name.split(".");
|
|
for (var o = _global_, i = 0, l = n.length; i < l; i++) {
|
|
o = o[n[i]] = o[n[i]] || {};
|
|
}
|
|
|
|
if (f) f();
|
|
} |