fix a few more paths that I missed

pull/1/head
ansuz 9 years ago
parent b3deb9531d
commit df99395b4d

@ -3,27 +3,27 @@
<head> <head>
<meta content="text/html; charset=utf-8" http-equiv="content-type"/> <meta content="text/html; charset=utf-8" http-equiv="content-type"/>
<script src="/bower_components/jquery/dist/jquery.min.js"></script> <script src="/bower_components/jquery/dist/jquery.min.js"></script>
<script src="codemirror-5.13.2/lib/codemirror.js"></script> <script src="codemirror-5.16.0/lib/codemirror.js"></script>
<link rel="stylesheet" href="codemirror-5.13.2/lib/codemirror.css"> <link rel="stylesheet" href="codemirror-5.16.0/lib/codemirror.css">
<link rel="stylesheet" href="codemirror-5.13.2/addon/dialog/dialog.css"> <link rel="stylesheet" href="codemirror-5.16.0/addon/dialog/dialog.css">
<link rel="stylesheet" href="codemirror-5.13.2/addon/fold/foldgutter.css" /> <link rel="stylesheet" href="codemirror-5.16.0/addon/fold/foldgutter.css" />
<script src="codemirror-5.13.2/mode/javascript/javascript.js"></script> <script src="codemirror-5.16.0/mode/javascript/javascript.js"></script>
<script src="codemirror-5.13.2/mode/loadmode.js"></script> <script src="codemirror-5.16.0/mode/loadmode.js"></script>
<script src="codemirror-5.13.2/mode/meta.js"></script> <script src="codemirror-5.16.0/mode/meta.js"></script>
<script src="codemirror-5.13.2/addon/edit/closebrackets.js"></script> <script src="codemirror-5.16.0/addon/edit/closebrackets.js"></script>
<script src="codemirror-5.13.2/addon/edit/matchbrackets.js"></script> <script src="codemirror-5.16.0/addon/edit/matchbrackets.js"></script>
<script src="codemirror-5.13.2/addon/edit/trailingspace.js"></script> <script src="codemirror-5.16.0/addon/edit/trailingspace.js"></script>
<script src="codemirror-5.13.2/addon/selection/active-line.js"></script> <script src="codemirror-5.16.0/addon/selection/active-line.js"></script>
<script src="codemirror-5.13.2/addon/search/search.js"></script> <script src="codemirror-5.16.0/addon/search/search.js"></script>
<script src="codemirror-5.13.2/addon/search/match-highlighter.js"></script> <script src="codemirror-5.16.0/addon/search/match-highlighter.js"></script>
<script src="codemirror-5.13.2/addon/search/searchcursor.js"></script> <script src="codemirror-5.16.0/addon/search/searchcursor.js"></script>
<script src="codemirror-5.13.2/addon/dialog/dialog.js"></script> <script src="codemirror-5.16.0/addon/dialog/dialog.js"></script>
<script src="codemirror-5.13.2/addon/fold/foldcode.js"></script> <script src="codemirror-5.16.0/addon/fold/foldcode.js"></script>
<script src="codemirror-5.13.2/addon/fold/foldgutter.js"></script> <script src="codemirror-5.16.0/addon/fold/foldgutter.js"></script>
<script src="codemirror-5.13.2/addon/fold/brace-fold.js"></script> <script src="codemirror-5.16.0/addon/fold/brace-fold.js"></script>
<script src="codemirror-5.13.2/addon/fold/xml-fold.js"></script> <script src="codemirror-5.16.0/addon/fold/xml-fold.js"></script>
<script src="codemirror-5.13.2/addon/fold/markdown-fold.js"></script> <script src="codemirror-5.16.0/addon/fold/markdown-fold.js"></script>
<script src="codemirror-5.13.2/addon/fold/comment-fold.js"></script> <script src="codemirror-5.16.0/addon/fold/comment-fold.js"></script>
<style> <style>
html { html {
height: 100%; height: 100%;

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

Loading…
Cancel
Save