projects
/
dygraphs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #237 from kberg/closure
[dygraphs.git]
/
jsdoc-toolkit
/
app
/
frame
/
Namespace.js
1
_global_
=
this
;
2
3
function
Namespace
(
name
,
f
) {
4
var
n
=
name
.
split
(
"."
);
5
for
(
var
o
=
_global_
,
i
=
0
,
l
=
n
.
length
;
i
<
l
;
i
++) {
6
o
=
o
[
n
[
i
]] =
o
[
n
[
i
]] || {};
7
}
8
9
if
(
f
)
f
();
10
}