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
{
var cmModePath = "codemirror/mode/";
var cmAddonPath = "codemirror/addon/";
var cmModePath = "./lib/codemirror/mode/";
var cmAddonPath = "./lib/codemirror/addon/";
var codeMirrorModules = [
"jquery", "marked", "prettify",
"katex", "raphael", "underscore", "flowchart", "jqueryflowchart", "sequenceDiagram",
"codemirror/lib/codemirror",
"./lib/codemirror/lib/codemirror",
cmModePath + "css/css",
cmModePath + "sass/sass",
cmModePath + "shell/shell",

Loading…
Cancel
Save