clear generated jsdoc; add script
[dygraphs.git] / jsdoc-toolkit / app / test / borrows2.js
1 // testing circular borrows
2
3 /**
4 @class
5 @borrows Bar#zop as this.my_zop
6 */
7 function Foo() {
8 /** this is a zip. */
9 this.zip = function() {}
10
11 this.my_zop = new Bar().zop;
12 }
13
14 /**
15 @class
16 @borrows Foo#zip as this.my_zip
17 */
18 function Bar() {
19 /** this is a zop. */
20 this.zop = function() {}
21
22 this.my_zip = new Foo().zip;
23 }