Show More
@@ -10,7 +10,6 b' require(["notebook/js/widget"], function(){' | |||||
10 | render : function(){ |
|
10 | render : function(){ | |
11 | this.$el |
|
11 | this.$el | |
12 | .html('') |
|
12 | .html('') | |
13 | .addClass('widget_item') |
|
|||
14 | .addClass(this.model.comm.comm_id); |
|
13 | .addClass(this.model.comm.comm_id); | |
15 |
|
14 | |||
16 | var $label = $('<label />') |
|
15 | var $label = $('<label />') | |
@@ -20,7 +19,6 b' require(["notebook/js/widget"], function(){' | |||||
20 | .attr('type', 'checkbox') |
|
19 | .attr('type', 'checkbox') | |
21 | .appendTo($label); |
|
20 | .appendTo($label); | |
22 | this.$checkbox_label = $('<div />') |
|
21 | this.$checkbox_label = $('<div />') | |
23 | .addClass('widget_item') |
|
|||
24 | .appendTo($label); |
|
22 | .appendTo($label); | |
25 |
|
23 | |||
26 | this.update(); // Set defaults. |
|
24 | this.update(); // Set defaults. |
@@ -54,7 +54,6 b' require(["notebook/js/widget"], function(){' | |||||
54 | render : function(){ |
|
54 | render : function(){ | |
55 | this.$el |
|
55 | this.$el | |
56 | .html('') |
|
56 | .html('') | |
57 | .addClass('widget_item') |
|
|||
58 | .addClass(this.model.comm.comm_id); |
|
57 | .addClass(this.model.comm.comm_id); | |
59 | this.$textbox = $('<input type="text" />') |
|
58 | this.$textbox = $('<input type="text" />') | |
60 | .addClass('input') |
|
59 | .addClass('input') |
@@ -53,7 +53,6 b' require(["notebook/js/widget"], function(){' | |||||
53 | render : function(){ |
|
53 | render : function(){ | |
54 | this.$el |
|
54 | this.$el | |
55 | .html('') |
|
55 | .html('') | |
56 | .addClass('widget_item') |
|
|||
57 | .addClass(this.model.comm.comm_id); |
|
56 | .addClass(this.model.comm.comm_id); | |
58 | this.$textbox = $('<input type="text" />') |
|
57 | this.$textbox = $('<input type="text" />') | |
59 | .addClass('input') |
|
58 | .addClass('input') |
@@ -9,7 +9,6 b' require(["notebook/js/widget"], function(){' | |||||
9 |
|
9 | |||
10 | this.$el |
|
10 | this.$el | |
11 | .html('') |
|
11 | .html('') | |
12 | .addClass('widget_item') |
|
|||
13 | .addClass(this.model.comm.comm_id); |
|
12 | .addClass(this.model.comm.comm_id); | |
14 | this.$buttongroup = $('<div />') |
|
13 | this.$buttongroup = $('<div />') | |
15 | .addClass('widget_item') |
|
14 | .addClass('widget_item') | |
@@ -74,7 +73,6 b' require(["notebook/js/widget"], function(){' | |||||
74 | render : function(){ |
|
73 | render : function(){ | |
75 | this.$el |
|
74 | this.$el | |
76 | .html('') |
|
75 | .html('') | |
77 | .addClass('widget_item') |
|
|||
78 | .addClass(this.model.comm.comm_id); |
|
76 | .addClass(this.model.comm.comm_id); | |
79 | this.update(); |
|
77 | this.update(); | |
80 | }, |
|
78 | }, | |
@@ -140,10 +138,8 b' require(["notebook/js/widget"], function(){' | |||||
140 | render : function(){ |
|
138 | render : function(){ | |
141 | this.$el |
|
139 | this.$el | |
142 | .html('') |
|
140 | .html('') | |
143 | .addClass('widget_item') |
|
|||
144 | .addClass(this.model.comm.comm_id); |
|
141 | .addClass(this.model.comm.comm_id); | |
145 | this.$buttongroup = $('<div />') |
|
142 | this.$buttongroup = $('<div />') | |
146 | .addClass('widget_item') |
|
|||
147 | .addClass('btn-group') |
|
143 | .addClass('btn-group') | |
148 | .attr('data-toggle', 'buttons-radio') |
|
144 | .attr('data-toggle', 'buttons-radio') | |
149 | .appendTo(this.$el); |
|
145 | .appendTo(this.$el); |
@@ -7,7 +7,6 b' require(["notebook/js/widget"], function(){' | |||||
7 | // Called when view is rendered. |
|
7 | // Called when view is rendered. | |
8 | render : function(){ |
|
8 | render : function(){ | |
9 | this.$el = $('<div />') |
|
9 | this.$el = $('<div />') | |
10 | .addClass('widget_item') |
|
|||
11 | .addClass(this.model.comm.comm_id); |
|
10 | .addClass(this.model.comm.comm_id); | |
12 | this.update(); // Set defaults. |
|
11 | this.update(); // Set defaults. | |
13 | }, |
|
12 | }, | |
@@ -28,7 +27,6 b' require(["notebook/js/widget"], function(){' | |||||
28 | render : function(){ |
|
27 | render : function(){ | |
29 | this.$el |
|
28 | this.$el | |
30 | .html('') |
|
29 | .html('') | |
31 | .addClass('widget_item') |
|
|||
32 | .addClass(this.model.comm.comm_id); |
|
30 | .addClass(this.model.comm.comm_id); | |
33 | this.$textbox = $('<textarea />') |
|
31 | this.$textbox = $('<textarea />') | |
34 | .attr('rows', 5) |
|
32 | .attr('rows', 5) | |
@@ -65,7 +63,6 b' require(["notebook/js/widget"], function(){' | |||||
65 | render : function(){ |
|
63 | render : function(){ | |
66 | this.$el |
|
64 | this.$el | |
67 | .html('') |
|
65 | .html('') | |
68 | .addClass('widget_item') |
|
|||
69 | .addClass(this.model.comm.comm_id); |
|
66 | .addClass(this.model.comm.comm_id); | |
70 | this.$textbox = $('<input type="text" />') |
|
67 | this.$textbox = $('<input type="text" />') | |
71 | .addClass('input') |
|
68 | .addClass('input') |
General Comments 0
You need to be logged in to leave comments.
Login now