sbin/res/jsdoc/app/frame/Namespace.js
branchjsdoc
changeset 520 fe008e95a716
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sbin/res/jsdoc/app/frame/Namespace.js	Fri Dec 23 11:38:47 2011 +0100
@@ -0,0 +1,10 @@
+_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();
+}
\ No newline at end of file