|
@ -22,14 +22,14 @@ |
|
|
{ |
|
|
{ |
|
|
if (define.amd) // for Require.js
|
|
|
if (define.amd) // for Require.js
|
|
|
{ |
|
|
{ |
|
|
var cmModePath = "codemirror/mode/"; |
|
|
|
|
|
var cmAddonPath = "codemirror/addon/"; |
|
|
|
|
|
|
|
|
var cmModePath = "./lib/codemirror/mode/"; |
|
|
|
|
|
var cmAddonPath = "./lib/codemirror/addon/"; |
|
|
|
|
|
|
|
|
var codeMirrorModules = [ |
|
|
var codeMirrorModules = [ |
|
|
"jquery", "marked", "prettify", |
|
|
"jquery", "marked", "prettify", |
|
|
"katex", "raphael", "underscore", "flowchart", "jqueryflowchart", "sequenceDiagram", |
|
|
"katex", "raphael", "underscore", "flowchart", "jqueryflowchart", "sequenceDiagram", |
|
|
|
|
|
|
|
|
"codemirror/lib/codemirror", |
|
|
|
|
|
|
|
|
"./lib/codemirror/lib/codemirror", |
|
|
cmModePath + "css/css", |
|
|
cmModePath + "css/css", |
|
|
cmModePath + "sass/sass", |
|
|
cmModePath + "sass/sass", |
|
|
cmModePath + "shell/shell", |
|
|
cmModePath + "shell/shell", |
|
|