mirror of
https://github.com/jupyter/notebook.git
synced 2025-04-24 14:20:54 +08:00
Removed widget_item class
This commit is contained in:
parent
c20859a5c9
commit
b5d4eda19b
IPython/html/static/notebook/js/widgets
@ -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…
x
Reference in New Issue
Block a user