2
0
Преглед на файлове

amberc.js: globalJsVariables is defined on the smalltalk, not the globals object

Manfred Kroehnert преди 11 години
родител
ревизия
7c7a5aeb43
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      cli/support/amberc.js

+ 1 - 1
cli/support/amberc.js

@@ -339,7 +339,7 @@ function create_compiler(configuration) {
 		configuration.globals.ErrorHandler._register_(configuration.globals.RethrowErrorHandler._new());
 
 		if(0 !== configuration.jsGlobals.length) {
-			var jsGlobalVariables = configuration.globals.globalJsVariables;
+			var jsGlobalVariables = configuration.smalltalk.globalJsVariables;
 			jsGlobalVariables.push.apply(jsGlobalVariables, configuration.jsGlobals);
 		}