Преглед изворни кода

Globals removed (they are exported module locals now).

Herbert Vojčík пре 11 година
родитељ
комит
90404cb092
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      js/boot.js

+ 3 - 3
js/boot.js

@@ -33,12 +33,12 @@
    |
    ==================================================================== */
 
-// TODO make this unnecessary
-/* Global Smalltalk objects. */
-var global_smalltalk, global_nil, global__st;
 
 define([ 'ensure-console', 'es5-shim-2.0.2/es5-shim.min', 'es5-shim-2.0.2/es5-sham.min' ], function () {
 
+/* Previouslu global Smalltalk objects; now they are local to this module and exported. */
+var global_smalltalk, global_nil, global__st;
+
 /* Array extensions */
 
 Array.prototype.addElement = function(el) {