equal
deleted
inserted
replaced
18 if (config.hasOwnProperty("width")) { |
18 if (config.hasOwnProperty("width")) { |
19 // this.width and not this._width because we consider it public. |
19 // this.width and not this._width because we consider it public. |
20 this.width = config.width; |
20 this.width = config.width; |
21 } |
21 } |
22 |
22 |
23 if (config.hasOwnProperty("height")) { |
23 if (config.hasOwnProperty("height")) { |
24 // this.width and not this._width because we consider it public. |
|
25 this.height = config.height; |
24 this.height = config.height; |
26 } |
25 } |
27 |
26 |
|
27 if (config.hasOwnProperty("heightmax")) { |
|
28 this.heightmax = config.heightmax; |
|
29 } |
|
30 |
|
31 if (config.hasOwnProperty("widthmax")) { |
|
32 this.widthmax = config.widthmax; |
|
33 } |
28 |
34 |
29 }; |
35 }; |
30 |
36 |
31 IriSP.Widget.prototype.draw = function() { |
37 IriSP.Widget.prototype.draw = function() { |
32 /* implemented by "sub-classes" */ |
38 /* implemented by "sub-classes" */ |