CodeMirror Fails
-
Hi I do not know about commonjs ect codemirror fails when it hits
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"), require("../htmlmixed/htmlmixed"), require("../clike/clike"));
else if (typeof define == "function" && define.amd) // AMD
define(["../../lib/codemirror", "../htmlmixed/htmlmixed", "../clike/clike"], mod);
else // Plain browser env
mod(CodeMirror); //FAILS HERE <------
})(function(CodeMirror) {
"use strict";
Any ideas how I can tell it to use the CodeMirror object thingy?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘CodeMirror Fails’ is closed to new replies.