equal
deleted
inserted
replaced
149 if (this.renderer) { |
149 if (this.renderer) { |
150 this.renderer.redrawUsers(); |
150 this.renderer.redrawUsers(); |
151 } |
151 } |
152 }); |
152 }); |
153 |
153 |
154 this.colorPicker = (function() { |
154 this.colorPicker = function(pickerClass) { |
155 var _tmpl = _this.options.templates['templates/colorpicker.html']; |
155 var _tmpl = _this.options.templates['templates/colorpicker.html']; |
156 return '<ul class="Rk-Edit-ColorPicker">' + Rkns.pickerColors.map(function(c) { |
156 return '<ul class="Rk-Edit-ColorPicker '+pickerClass+'">' + Rkns.pickerColors.map(function(c) { |
157 return _tmpl({ |
157 return _tmpl({ |
158 c: c |
158 c: c |
159 }); |
159 }); |
160 }).join("") + '</ul>'; |
160 }).join("") + '</ul>'; |
161 })(); |
161 }; |
162 |
162 |
163 if (this.options.show_editor) { |
163 if (this.options.show_editor) { |
164 this.renderer = new Rkns.Renderer.Scene(this); |
164 this.renderer = new Rkns.Renderer.Scene(this); |
165 } |
165 } |
166 |
166 |