Explorar el Código

Fix dependencies.

Should fix occasional crash while loading.
Herbert Vojčík hace 11 años
padre
commit
c09969b908
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      js/lib/amber-in-browser.js

+ 2 - 1
js/lib/amber-in-browser.js

@@ -24,6 +24,7 @@ require = function (require) {
             'amber_vm/boot': '../boot',
             'amber_vm/parser': '../parser',
             'amber': '..',
+            'amber/_source': '../../st',
             'jquery': 'jQuery/jquery-1.8.2.min',
             'jquery-ui': 'jQuery/jquery-ui-1.8.16.custom.min'
         },
@@ -121,7 +122,7 @@ require = function (require) {
                 deps: [ 'amber/Compiler-IR' ]
             },
             'amber/Compiler-Interpreter': {
-                deps: [ 'amber/Compiler-Core' ]
+                deps: [ 'amber/Compiler-AST' ]
             },
             'amber/IDE': {
                 deps: [ 'amber/Canvas', 'amber/Kernel-Exceptions' ]