Sfoglia il codice sorgente

kernel: export nilAsReceiver instead of nil.

Keep nil for backward compatibility.
Herbert Vojčík 7 anni fa
parent
commit
1e4d7ab7b1
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      support/boot.js

+ 2 - 1
support/boot.js

@@ -701,7 +701,8 @@ define(['require', './brikz', './compatibility'], function (require, Brikz) {
 
     return {
         api: api,
-        nil: brikz.root.nil,
+        nil/* TODO deprecate */: brikz.root.nil,
+        nilAsReceiver: brikz.root.nil,
         dnu/* TODO deprecate */: brikz.root.nilAsClass,
         nilAsClass: brikz.root.nilAsClass,
         globals: brikz.smalltalkGlobals.globals,