Browse Source

kernel: export nilAsReceiver instead of nil.

Keep nil for backward compatibility.
Herbert Vojčík 7 years ago
parent
commit
1e4d7ab7b1
1 changed files with 2 additions and 1 deletions
  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,