File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 59
59
function loadDriveApi ( ) {
60
60
//load realtime api.
61
61
62
- gapi . load ( 'auth:client,drive-realtime,drive-share' , start ) ;
63
-
64
- gapi . client . load ( 'drive' , 'v2' , function ( ) {
65
- // Get query param "id"
66
- var param = location . search . substring ( 1 ) . split ( "&" )
67
- . map ( function ( param ) { return param . split ( "=" ) ; } )
68
- . find ( function ( param ) { return param [ 0 ] === "id" ; } ) ;
69
- if ( param === undefined ) { param = [ ] } ;
70
- openFolder ( param [ 1 ] || folder ) ;
62
+ gapi . load ( 'auth:client,drive-realtime,drive-share' , function ( ) {
63
+ gapi . client . load ( 'drive' , 'v2' , function ( ) {
64
+ // Get query param "id"
65
+ var param = location . search . substring ( 1 ) . split ( "&" )
66
+ . map ( function ( param ) { return param . split ( "=" ) ; } )
67
+ . find ( function ( param ) { return param [ 0 ] === "id" ; } ) ;
68
+ if ( param === undefined ) { param = [ ] } ;
69
+ openFolder ( param [ 1 ] || folder ) ;
70
+ } ) ;
71
71
} ) ;
72
+
72
73
}
73
74
74
75
/**
You can’t perform that action at this time.
0 commit comments