Parcourir la source

amber_cli with its own local.amd.json

So there is no need to explicitly map it in internal/index.html

(output of `amber/config` not added into git yet, since idk what will be the policy,
though probably to include it, we include .js files, which are also generated)
Herbert Vojčík il y a 10 ans
Parent
commit
05c38aae06
2 fichiers modifiés avec 6 ajouts et 6 suppressions
  1. 5 0
      external/amber-cli/local.amd.json
  2. 1 6
      internal/index.html

+ 5 - 0
external/amber-cli/local.amd.json

@@ -0,0 +1,5 @@
+{
+    "paths": {
+        "amber_cli": "src"
+    }
+}

+ 1 - 6
internal/index.html

@@ -11,12 +11,7 @@
 
 <body>
 <script type='text/javascript'>
-    require.config({
-        baseUrl: '..',
-        paths: {
-            'amber_cli': 'external/amber-cli/src'
-        }
-    });
+    require.config({baseUrl: '..'});
     require(
         ["amber/devel", "amber_cli/AmberCli"],
         function (smalltalk) {