File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/jupyter_contrib_nbextensions/nbextensions/codefolding Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ define([
27
27
// define default config parameter values
28
28
var params = {
29
29
codefolding_hotkey : 'Alt-f' ,
30
- init_timeout : 1000
30
+ init_delay : 1000
31
31
} ;
32
32
33
33
// updates default params with any specified in the provided config data
@@ -244,9 +244,9 @@ define([
244
244
require ( [ './firstline-fold' , './magic-fold' ] , function ( ) {
245
245
if ( Jupyter . notebook . _fully_loaded ) {
246
246
setTimeout ( function ( ) {
247
- console . log ( 'Codefolding: Wait for' , params . init_timeout , 'ms' ) ;
247
+ console . log ( 'Codefolding: Wait for' , params . init_delay , 'ms' ) ;
248
248
initExistingCells ( ) ;
249
- } , params . init_timeout ) ;
249
+ } , params . init_delay ) ;
250
250
}
251
251
else {
252
252
events . one ( 'notebook_loaded.Notebook' , initExistingCells ) ;
@@ -256,9 +256,9 @@ define([
256
256
else {
257
257
activate_cm_folding ( Jupyter . editor . codemirror ) ;
258
258
setTimeout ( function ( ) {
259
- console . log ( 'Codefolding: Wait for' , params . init_timeout , 'ms' ) ;
259
+ console . log ( 'Codefolding: Wait for' , params . init_delay , 'ms' ) ;
260
260
Jupyter . editor . codemirror . refresh ( ) ;
261
- } , params . init_timeout ) ;
261
+ } , params . init_delay ) ;
262
262
}
263
263
} ;
264
264
You can’t perform that action at this time.
0 commit comments