diff options
author | Rogan Creswick <creswick@galois.com> | 2012-03-30 17:07:02 -0700 |
---|---|---|
committer | Rogan Creswick <creswick@galois.com> | 2012-03-30 17:07:02 -0700 |
commit | f6ab6622aab00fe7c2f4c3dc41f786ebbe0f0d73 (patch) | |
tree | 870111038542cd27153e1396ebdc063573249689 /tools/jsdoc-toolkit-2.4.0/app/test/namespace_nested.js |
initial revision
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; |