equal
deleted
inserted
replaced
8 |
8 |
9 this._Popcorn = Popcorn; |
9 this._Popcorn = Popcorn; |
10 this._config = config; |
10 this._config = config; |
11 this._serializer = Serializer; |
11 this._serializer = Serializer; |
12 |
12 |
13 if (config.hasOwnProperty("divId")) { |
13 if (config.hasOwnProperty("gui") && config.gui.hasOwnProperty("container")) { |
14 this._id = config.divId; |
14 this._id = config.gui.container; |
15 this.selector = IriSP.jQuery("#" + this._id); |
15 this.selector = IriSP.jQuery("#" + this._id); |
16 } |
16 } |
17 }; |
17 }; |
18 |
18 |
19 IriSP.Widget.prototype.draw = function() { |
19 IriSP.Widget.prototype.draw = function() { |