소스 검색

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) {