diff options
author | Bryan Berry <bryan@olenepal.org> | 2010-01-04 03:00:35 (GMT) |
---|---|---|
committer | Bryan Berry <bryan@olenepal.org> | 2010-01-04 03:00:35 (GMT) |
commit | 29c98e13e7cb068d13dbe7b274fcdc241dfa031e (patch) | |
tree | 2e5b77050db00f86688cbb5722b8da04fc568999 /tools/jsdoc-toolkit/app/test/borrows2.js | |
parent | a806447eb90d9d53a15eee84af3b14dd25caf139 (diff) |
added Jakefile w/ working clean task
Diffstat (limited to 'tools/jsdoc-toolkit/app/test/borrows2.js')
-rw-r--r-- | tools/jsdoc-toolkit/app/test/borrows2.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/jsdoc-toolkit/app/test/borrows2.js b/tools/jsdoc-toolkit/app/test/borrows2.js new file mode 100644 index 0000000..c0d5ea2 --- /dev/null +++ b/tools/jsdoc-toolkit/app/test/borrows2.js @@ -0,0 +1,23 @@ +// testing circular borrows + +/** + @class + @borrows Bar#zop as this.my_zop +*/ +function Foo() { + /** this is a zip. */ + this.zip = function() {} + + this.my_zop = new Bar().zop; +} + +/** + @class + @borrows Foo#zip as this.my_zip +*/ +function Bar() { + /** this is a zop. */ + this.zop = function() {} + + this.my_zip = new Foo().zip; +}
\ No newline at end of file |