Przeglądaj źródła

Fixed amberc.js Issue#617

Thomas Rake 10 lat temu
rodzic
commit
df326c1aaa
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      bin/amberc.js

+ 1 - 1
bin/amberc.js

@@ -607,7 +607,7 @@ AmberC.prototype.compose_js_files = function() {
 	});
 	if (undefined !== defaults.main) {
 		console.log('Adding call to: %s>>main', defaults.main);
-		fileStream.write('smalltalk.' + defaults.main + '._main()');
+		fileStream.write('global_smalltalk.' + defaults.main + '._main()');
 	}
 
 	if (undefined !== defaults.mainfile && fs.existsSync(defaults.mainfile)) {