@@ -336,7 +336,7 @@ describe('Test Plots', function() {
336336 gd . style . width = '400px' ;
337337 gd . style . height = '400px' ;
338338
339- return Plots . resize ( gd ) ;
339+ return Plotly . Plots . resize ( gd ) ;
340340 } )
341341 . then ( done ) ;
342342 } ) ;
@@ -390,7 +390,7 @@ describe('Test Plots', function() {
390390 expect ( typeof gd . id ) . toBe ( 'string' ) ;
391391 expect ( gd . id ) . toBeTruthy ( ) ;
392392
393- Plots . resize ( gd . id )
393+ Plotly . Plots . resize ( gd . id )
394394 . then ( done , done . fail ) ;
395395 } ) ;
396396 } ) ;
@@ -412,7 +412,7 @@ describe('Test Plots', function() {
412412
413413 Plotly . newPlot ( gd , [ ] , { } )
414414 . 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 ) ; } )
416416 . then ( function ( ) { _assert ( { l : 74 , r : 74 , t : 82 , b : 66 } ) ; } )
417417 . then ( done , done . fail ) ;
418418 } ) ;
@@ -428,9 +428,9 @@ describe('Test Plots', function() {
428428 . then ( function ( ) {
429429 gd . style . width = '500px' ;
430430 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 ) ) ;
434434 return Promise . all ( p ) ;
435435 } )
436436 . then ( function ( v ) {
0 commit comments