Browse Source

Merge pull request #238 from Viky-zhang/master

fix RequireJs submodule relative path
master
pandao 9 years ago
parent
commit
9309624cff
  1. 6
      editormd.amd.js

6
editormd.amd.js

@ -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",

Loading…
Cancel
Save