2
0
Pārlūkot izejas kodu

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 10 gadi atpakaļ
vecāks
revīzija
05c38aae06
2 mainītis faili ar 6 papildinājumiem un 6 dzēšanām
  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) {