Get codemirror from bower and use that version in the code app

This commit is contained in:
yflory
2016-09-29 16:23:27 +02:00
parent bc73fa2074
commit 261d2fecbc
3 changed files with 26 additions and 25 deletions

View File

@@ -45,7 +45,7 @@ define([
var andThen = function (CMeditor) {
var CodeMirror = module.CodeMirror = CMeditor;
CodeMirror.modeURL = "/code/codemirror-5.16.0/mode/%N/%N.js";
CodeMirror.modeURL = "/bower_components/codemirror/mode/%N/%N.js";
var $pad = $('#pad-iframe');
var $textarea = $pad.contents().find('#editor1');