File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import { addSamplesWidget } from './samples';
99import ace from "ace-builds/src-noconflict/ace" ;
1010import "ace-builds/src-noconflict/ext-language_tools" ;
1111import "ace-builds/src-noconflict/mode-groovy" ;
12+ import "ace-builds/src-noconflict/snippets/javascript" ;
1213import "ace-builds/src-noconflict/theme-tomorrow" ;
1314import "ace-builds/src-noconflict/theme-tomorrow_night" ;
1415
@@ -17,6 +18,7 @@ import "./snippets/workflow";
1718
1819var editorIdCounter = 0 ;
1920
21+ document . addEventListener ( "DOMContentLoaded" , function ( ) {
2022 $ ( '.workflow-editor-wrapper' ) . each ( function ( ) {
2123 initEditor ( $ ( this ) ) ;
2224 } ) ;
@@ -130,3 +132,4 @@ var editorIdCounter = 0;
130132 wrapper . show ( ) ;
131133 textarea . hide ( ) ;
132134 }
135+ } ) ;
You can’t perform that action at this time.
0 commit comments