@@ -94,12 +94,12 @@ mpl.figure.prototype._init_header = function() {
94
94
this . header = titletext [ 0 ] ;
95
95
}
96
96
97
- mpl . figure . prototype . _canvas_extra_style = function ( canvas_div ) {
97
+ mpl . figure . prototype . _canvas_extra_style = function ( canvas_div ) {
98
98
99
99
}
100
100
101
101
102
- mpl . figure . prototype . _root_extra_style = function ( canvas_div ) {
102
+ mpl . figure . prototype . _root_extra_style = function ( canvas_div ) {
103
103
104
104
}
105
105
@@ -188,7 +188,7 @@ mpl.figure.prototype._init_toolbar = function() {
188
188
return fig . toolbar_button_onmouseover ( event [ 'data' ] ) ;
189
189
}
190
190
191
- for ( var toolbar_ind in mpl . toolbar_items ) {
191
+ for ( var toolbar_ind in mpl . toolbar_items ) {
192
192
var name = mpl . toolbar_items [ toolbar_ind ] [ 0 ] ;
193
193
var tooltip = mpl . toolbar_items [ toolbar_ind ] [ 1 ] ;
194
194
var image = mpl . toolbar_items [ toolbar_ind ] [ 2 ] ;
@@ -466,18 +466,18 @@ mpl.figure.prototype.toolbar_button_onmouseover = function(tooltip) {
466
466
this . message . textContent = tooltip ;
467
467
} ;
468
468
469
- mpl . debounce_event = function ( func , time ) {
469
+ mpl . debounce_event = function ( func , time ) {
470
470
var timer ;
471
- return function ( event ) {
471
+ return function ( event ) {
472
472
clearTimeout ( timer ) ;
473
- timer = setTimeout ( function ( ) { func ( event ) ; } , time ) ;
473
+ timer = setTimeout ( function ( ) { func ( event ) ; } , time ) ;
474
474
} ;
475
475
}
476
476
477
- mpl . debounce_resize = function ( func , time ) {
477
+ mpl . debounce_resize = function ( func , time ) {
478
478
var timer ;
479
- return function ( event , ui ) {
479
+ return function ( event , ui ) {
480
480
clearTimeout ( timer ) ;
481
- timer = setTimeout ( function ( ) { func ( event , ui ) ; } , time ) ;
481
+ timer = setTimeout ( function ( ) { func ( event , ui ) ; } , time ) ;
482
482
} ;
483
483
}
0 commit comments