sbin/res/jsdoc/app/frame/Namespace.js
author durandn
Thu, 24 Sep 2015 11:54:30 +0200
changeset 1063 e9765601184d
parent 520 fe008e95a716
permissions -rw-r--r--
Try for a fix for JqueryUI/Lab.js bug

_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();
}