/tags/jsdoc_toolkit-2.3.2/jsdoc-toolkit/app/test/synonyms.js

http://jsdoc-toolkit.googlecode.com/ · JavaScript · 31 lines · 11 code · 4 blank · 16 comment · 0 complexity · 7dec43f670fe73cdbe189be67e9fdb01 MD5 · raw file

  1. /**
  2. @class
  3. @inherits Bar#zop as #my_zop
  4. */
  5. function Foo() {
  6. /** this is a zip. */
  7. this.zip = function() {}
  8. /** from Bar */
  9. this.my_zop = new Bar().zop;
  10. }
  11. /**
  12. @class
  13. @borrows Foo#zip as this.my_zip
  14. */
  15. function Bar() {
  16. /** this is a zop. */
  17. this.zop = function() {}
  18. /** from Foo */
  19. this.my_zip = new Foo().zip;
  20. }
  21. /** @namespace */
  22. var myObject = {
  23. /**
  24. @type function
  25. */
  26. myFunc: getFunction()
  27. }