diff options
Diffstat (limited to 'tools/jsdoc-toolkit-2.4.0/app/test/namespace_nested.js')
-rw-r--r-- | tools/jsdoc-toolkit-2.4.0/app/test/namespace_nested.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/jsdoc-toolkit-2.4.0/app/test/namespace_nested.js b/tools/jsdoc-toolkit-2.4.0/app/test/namespace_nested.js new file mode 100644 index 0000000..46cafa2 --- /dev/null +++ b/tools/jsdoc-toolkit-2.4.0/app/test/namespace_nested.js @@ -0,0 +1,23 @@ +/** + @namespace This is the first namespace. +*/ +ns1 = {}; + +/** + This is the second namespace. + @namespace +*/ +ns1.ns2 = {}; + +/** + This part of ns1.ns2 + @constructor +*/ +ns1.ns2.Function1 = function() { +}; + +ns1.staticFunction = function() { +}; + +/** A static field in a namespace. */ +ns1.ns2.staticField = 1; |