Explorar el Código

boot.js: runtime added as late as possible

Herbert Vojčík hace 11 años
padre
commit
34f42c904b
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      js/boot.js

+ 3 - 2
js/boot.js

@@ -673,11 +673,12 @@ function SmalltalkInitBrik(brikz, st) {
 	st.initialize = function() {
 		if(initialized) { return; }
 
-		runnable();
-
 		st.classes().forEach(function(klass) {
 			st.init(klass);
 		});
+
+		runnable();
+
 		st.classes().forEach(function(klass) {
 			klass._initialize();
 		});