Explorar o código

hack to find requirejs in old environment as well

Herbert Vojčík %!s(int64=9) %!d(string=hai) anos
pai
achega
fdf0190e0d
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      requirejs.amd.json

+ 5 - 1
requirejs.amd.json

@@ -1,5 +1,9 @@
 {
+    "rjs_comment1": "require.min should be removed",
+    "rjs_comment2": "it's backward compatibility hack if config finds",
+    "rjs_comment3": "support/requirejs before node_modules/requirejs;",
+    "rjs_comment4": "the former will go away in 0.14.0",
     "paths": {
-        "requireJS": "require"
+        "requireJS": [ "require", "require.min" ]
     }
 }