Explorar o código

boot.js: runtime added as late as possible

Herbert Vojčík %!s(int64=11) %!d(string=hai) anos
pai
achega
34f42c904b
Modificáronse 1 ficheiros con 3 adicións e 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();
 		});