UNPKG

node-mirror

Version:

node.js + CodeMirror = Great IDE and Admin Tool

17 lines (12 loc) 430 B
// mostly for the dojo loader (function(){ if (typeof exports == "object" && typeof module == "object"){ // CommonJS module.exports = require("./promiseland.js"); }else if (typeof define == "function" && define.amd){ // AMD define(["./promiseland"], function(promiseland){ return promiseland; }); }else{ // Plain browser env alert("not possible without a module loader!"); }; })();