File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 184184 <script src =" ${ ctx } /editor/addon/edit/matchbrackets.js" ></script >
185185 <script src =" ${ ctx } /editor/keymap/vim.js" ></script >
186186 <script src =" ${ ctx } /editor/addon/display/fullscreen.js" ></script >
187- <script src =" ${ ctx } /editor/mode/python/python .js" ></script >
187+ <script src =" ${ ctx } /editor/mode/javascript/javascript .js" ></script >
188188
189189 <!-- Requires Mergely -->
190190 <script type =" text/javascript" src =" ${ ctx } /js/mergely.min.js" ></script >
193193 <script >
194194 var editor = CodeMirror .fromTextArea (document .getElementById (" code" ), {
195195 lineNumbers : true ,
196- mode : " python " ,
196+ mode : " javascript " ,
197197 matchBrackets : true ,
198198 theme : " monokai" ,
199199 showCursorWhenSelecting : true ,
306306
307307 $ (document ).ready (function () {
308308 $ (' #compare' ).mergely ({
309- cmsettings: { readOnly: false },
309+ cmsettings: { mode : ' javascript ' ,theme : " monokai " , readOnly: false },
310310 width: ' auto' ,
311311 height: 450
312312 });
You can’t perform that action at this time.
0 commit comments