Browse Source

hack to find requirejs in old environment as well

Herbert Vojčík 10 years ago
parent
commit
fdf0190e0d
1 changed files with 5 additions and 1 deletions
  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" ]
     }
 }