Closure fix; force cast from Element to Node.
[dygraphs.git] / jsdoc-toolkit / app / test / borrows2.js
CommitLineData
629a09ae
DV
1// testing circular borrows
2
3/**
4 @class
5 @borrows Bar#zop as this.my_zop
6*/
7function 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*/
18function Bar() {
19 /** this is a zop. */
20 this.zop = function() {}
21
22 this.my_zip = new Foo().zip;
23}