Skip to content

Commit 9309624

Browse files
committed
Merge pull request pandao#238 from Viky-zhang/master
fix RequireJs submodule relative path
2 parents b02dbce + a32feec commit 9309624

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

editormd.amd.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
2222
{
2323
if (define.amd) // for Require.js
2424
{
25-
var cmModePath = "codemirror/mode/";
26-
var cmAddonPath = "codemirror/addon/";
25+
var cmModePath = "./lib/codemirror/mode/";
26+
var cmAddonPath = "./lib/codemirror/addon/";
2727

2828
var codeMirrorModules = [
2929
"jquery", "marked", "prettify",
3030
"katex", "raphael", "underscore", "flowchart", "jqueryflowchart", "sequenceDiagram",
3131

32-
"codemirror/lib/codemirror",
32+
"./lib/codemirror/lib/codemirror",
3333
cmModePath + "css/css",
3434
cmModePath + "sass/sass",
3535
cmModePath + "shell/shell",

0 commit comments

Comments
 (0)