equal
deleted
inserted
replaced
49 /* stem is a string to append to the id of the widget */ |
49 /* stem is a string to append to the id of the widget */ |
50 IriSP.LayoutManager.prototype.createDiv = function(stem) { |
50 IriSP.LayoutManager.prototype.createDiv = function(stem) { |
51 if (typeof(stem) === "undefined") |
51 if (typeof(stem) === "undefined") |
52 stem = ""; |
52 stem = ""; |
53 |
53 |
54 var newDiv = Popcorn.guid(this._div + "_widget_" + stem + "_"); |
54 var newDiv = IriSP.guid(this._div + "_widget_" + stem + "_"); |
55 var spacerDiv = Popcorn.guid("LdtPlayer_spacer_"); |
55 var spacerDiv = IriSP.guid("LdtPlayer_spacer_"); |
56 this._widgets.push(newDiv); |
56 this._widgets.push(newDiv); |
57 |
57 |
58 var divTempl = "<div id='{{id}}' style='width: {{width}}px; position: relative;'></div"; |
58 var divTempl = "<div id='{{id}}' style='width: {{width}}px; position: relative;'></div"; |
59 var spacerTempl = "<div id='{{spacer_id}}' style='width: {{width}}px; position: relative; height: {{spacer_div_height}};'></div"; |
59 var spacerTempl = "<div id='{{spacer_id}}' style='width: {{width}}px; position: relative; height: {{spacer_div_height}};'></div"; |
60 |
60 |