synonyms.js 414 B

12345678910111213141516171819202122232425262728293031
  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. }