equal
deleted
inserted
replaced
16 if (options === undefined) { |
16 if (options === undefined) { |
17 options = {}; |
17 options = {}; |
18 console.error("The options parameter is undefined."); |
18 console.error("The options parameter is undefined."); |
19 }; |
19 }; |
20 |
20 |
21 if (options.hasOwnProperty('divId')) { |
21 if (options.hasOwnProperty('container')) { |
22 this._div = options.divId; |
22 this._div = options.container; |
23 } |
23 } |
24 |
24 |
25 if (options.hasOwnProperty('width')) { |
25 if (options.hasOwnProperty('width')) { |
26 this._width = options.width; |
26 this._width = options.width; |
27 } |
27 } |