mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 00:46:16 -04:00
first-commit
This commit is contained in:
commit
325c322a27
207 changed files with 35989 additions and 0 deletions
10
doc/jsdoc-toolkit/app/frame/Namespace.js
Normal file
10
doc/jsdoc-toolkit/app/frame/Namespace.js
Normal file
|
@ -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();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue