Преглед изворни кода

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 година
родитељ
комит
05c38aae06
2 измењених фајлова са 6 додато и 6 уклоњено
  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) {