Closure fix; force cast from Element to Node.
[dygraphs.git] / jsdoc-toolkit / app / test / borrows.js
1 /**
2 @constructor
3 */
4 function Layout(p) {
5 /** initilize 1 */
6 this.init = function(p) {
7 }
8
9 /** get the id */
10 this.getId = function() {
11 }
12
13 /** @type string */
14 this.orientation = "landscape";
15
16 function getInnerElements(elementSecretId){
17 }
18 }
19
20 /** A static method. */
21 Layout.units = function() {
22 }
23
24 /**
25 @constructor
26 @borrows Layout#orientation
27 @borrows Layout-getInnerElements
28 @borrows Layout.units
29 */
30 function Page() {
31 /** reset the page */
32 this.reset = function(b) {
33 }
34 }
35
36 /**
37 @constructor
38 @borrows Layout.prototype.orientation as this.orientation
39 @borrows Layout.prototype.init as #init
40 @inherits Page.prototype.reset as #reset
41 */
42 function ThreeColumnPage() {
43 /** initilize 2 */
44 this.init = function(p) {
45 }
46 }