浏览代码

kernel: export nilAsReceiver instead of nil.

Keep nil for backward compatibility.
Herbert Vojčík 7 年之前
父节点
当前提交
1e4d7ab7b1
共有 1 个文件被更改,包括 2 次插入1 次删除
  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,