src/js/widgets.js
branchpopcorn-port
changeset 287 5c7495102bd7
parent 170 5150ae56e0a6
child 520 fe008e95a716
equal deleted inserted replaced
286:6252f951d11c 287:5c7495102bd7
    12   
    12   
    13   if (config.hasOwnProperty("container")) {
    13   if (config.hasOwnProperty("container")) {
    14      this._id = config.container;
    14      this._id = config.container;
    15      this.selector = IriSP.jQuery("#" + this._id);
    15      this.selector = IriSP.jQuery("#" + this._id);
    16   }
    16   }
       
    17 
       
    18   if (config.hasOwnProperty("spacer")) {
       
    19      this._spacerId = config.spacer;
       
    20      this.spacer = IriSP.jQuery("#" + this._spacerId);
       
    21   }
       
    22 
    17 
    23 
    18   if (config.hasOwnProperty("width")) {
    24   if (config.hasOwnProperty("width")) {
    19      // this.width and not this._width because we consider it public.
    25      // this.width and not this._width because we consider it public.
    20      this.width = config.width;     
    26      this.width = config.width;     
    21   }
    27   }