src/js/layout.js
branchpopcorn-port
changeset 117 b0a699baf3f1
parent 113 ebfd0d17e427
child 138 37b70a8c61a2
equal deleted inserted replaced
116:3ca8dadf3eda 117:b0a699baf3f1
    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     }