1
0
Kaynağa Gözat

Merge pull request #6 from sebastianconcept/bug/initialize

patched smalltalk.initialize() in the root so we do it in the new fashio...
Herbert Vojčík 11 yıl önce
ebeveyn
işleme
a88fad5340
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. 3 2
      root/index.html

+ 3 - 2
root/index.html

@@ -20,8 +20,9 @@
           '{%= namespace %}/{%= name %}'
       ], function (smalltalk) {
           //used for all new packages in IDE
-          smalltalk.defaultAmdNamespace = "{%= namespace %}";
-          smalltalk.initialize();
+          smalltalk.initialize({
+            defaultAmdNamespace: "{%= namespace %}"
+          });
       });
     </script>
     <button onclick="require('amber_vm/smalltalk').Browser._open()">class browser</button>