1
0
Просмотр исходного кода

"exports" section for codemirror lib itself

AMD loader uses this to detect when the library is loaded
Herbert Vojčík 10 лет назад
Родитель
Сommit
57014da163
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      codemirror3.amd.json

+ 2 - 1
codemirror3.amd.json

@@ -4,7 +4,8 @@
     },
     "shim": {
         "codemirror3/lib/codemirror": {
-            "deps": [ "css!codemirror3/lib/codemirror" ]
+            "deps": [ "css!codemirror3/lib/codemirror" ],
+            "exports": "CodeMirror"
         },
         "codemirror3/mode/smalltalk/smalltalk": {
             "deps": [ "../../lib/codemirror" ]