Removed widget_item class

Jonathan Frederic 13 years ago
parent c20859a5c9
commit b5d4eda19b

@ -10,7 +10,6 @@ require(["notebook/js/widget"], function(){
render : function(){
this.$el
.html('')
.addClass('widget_item')
.addClass(this.model.comm.comm_id);
var $label = $('<label />')
@ -20,7 +19,6 @@ require(["notebook/js/widget"], function(){
.attr('type', 'checkbox')
.appendTo($label);
this.$checkbox_label = $('<div />')
.addClass('widget_item')
.appendTo($label);
this.update(); // Set defaults.

@ -9,7 +9,6 @@ require(["notebook/js/widget"], function(){
this.$el
.html('')
.addClass('widget_item')
.addClass(this.model.comm.comm_id);
this.$buttongroup = $('<div />')
.addClass('widget_item')
@ -74,7 +73,6 @@ require(["notebook/js/widget"], function(){
render : function(){
this.$el
.html('')
.addClass('widget_item')
.addClass(this.model.comm.comm_id);
this.update();
},
@ -140,10 +138,8 @@ require(["notebook/js/widget"], function(){
render : function(){
this.$el
.html('')
.addClass('widget_item')
.addClass(this.model.comm.comm_id);
this.$buttongroup = $('<div />')
.addClass('widget_item')
.addClass('btn-group')
.attr('data-toggle', 'buttons-radio')
.appendTo(this.$el);

@ -7,7 +7,6 @@ require(["notebook/js/widget"], function(){
// Called when view is rendered.
render : function(){
this.$el = $('<div />')
.addClass('widget_item')
.addClass(this.model.comm.comm_id);
this.update(); // Set defaults.
},
@ -28,7 +27,6 @@ require(["notebook/js/widget"], function(){
render : function(){
this.$el
.html('')
.addClass('widget_item')
.addClass(this.model.comm.comm_id);
this.$textbox = $('<textarea />')
.attr('rows', 5)
@ -65,7 +63,6 @@ require(["notebook/js/widget"], function(){
render : function(){
this.$el
.html('')
.addClass('widget_item')
.addClass(this.model.comm.comm_id);
this.$textbox = $('<input type="text" />')
.addClass('input')

Loading…
Cancel
Save