@@ -336,7 +336,7 @@ describe('Test Plots', function() {
336
336
gd . style . width = '400px' ;
337
337
gd . style . height = '400px' ;
338
338
339
- return Plots . resize ( gd ) ;
339
+ return Plotly . Plots . resize ( gd ) ;
340
340
} )
341
341
. then ( done ) ;
342
342
} ) ;
@@ -390,7 +390,7 @@ describe('Test Plots', function() {
390
390
expect ( typeof gd . id ) . toBe ( 'string' ) ;
391
391
expect ( gd . id ) . toBeTruthy ( ) ;
392
392
393
- Plots . resize ( gd . id )
393
+ Plotly . Plots . resize ( gd . id )
394
394
. then ( done , done . fail ) ;
395
395
} ) ;
396
396
} ) ;
@@ -412,7 +412,7 @@ describe('Test Plots', function() {
412
412
413
413
Plotly . newPlot ( gd , [ ] , { } )
414
414
. then ( function ( ) { _assert ( { l : 74 , r : 74 , t : 82 , b : 66 } ) ; } )
415
- . then ( function ( ) { return Plots . resize ( gd ) ; } )
415
+ . then ( function ( ) { return Plotly . Plots . resize ( gd ) ; } )
416
416
. then ( function ( ) { _assert ( { l : 74 , r : 74 , t : 82 , b : 66 } ) ; } )
417
417
. then ( done , done . fail ) ;
418
418
} ) ;
@@ -428,9 +428,9 @@ describe('Test Plots', function() {
428
428
. then ( function ( ) {
429
429
gd . style . width = '500px' ;
430
430
gd . style . height = '500px' ;
431
- p . push ( Plots . resize ( gd ) ) ;
432
- p . push ( Plots . resize ( gd ) ) ;
433
- p . push ( Plots . resize ( gd ) ) ;
431
+ p . push ( Plotly . Plots . resize ( gd ) ) ;
432
+ p . push ( Plotly . Plots . resize ( gd ) ) ;
433
+ p . push ( Plotly . Plots . resize ( gd ) ) ;
434
434
return Promise . all ( p ) ;
435
435
} )
436
436
. then ( function ( v ) {
0 commit comments