/trunk/jsdoc-toolkit/app/test/namespace_nested.js

http://jsdoc-toolkit.googlecode.com/ · JavaScript · 23 lines · 7 code · 4 blank · 12 comment · 0 complexity · f406410dfd390987ec22f929fe5811d1 MD5 · raw file

  1. /**
  2. @namespace This is the first namespace.
  3. */
  4. ns1 = {};
  5. /**
  6. This is the second namespace.
  7. @namespace
  8. */
  9. ns1.ns2 = {};
  10. /**
  11. This part of ns1.ns2
  12. @constructor
  13. */
  14. ns1.ns2.Function1 = function() {
  15. };
  16. ns1.staticFunction = function() {
  17. };
  18. /** A static field in a namespace. */
  19. ns1.ns2.staticField = 1;