Browse Source

Remove deprecated piece.

Herby Vojčík 5 years ago
parent
commit
62e52aa53a
1 changed files with 1 additions and 6 deletions
  1. 1 6
      lang/base/kernel-language.js

+ 1 - 6
lang/base/kernel-language.js

@@ -280,8 +280,7 @@ define(function () {
         // Effective superclass of all classes created with `nil subclass: ...`.
         var nilAsClass = this.nilAsClass = {
             fn: SmalltalkRoot,
-            a$cls: {fn: SmalltalkClass},
-            klass: {fn: SmalltalkClass}
+            a$cls: {fn: SmalltalkClass}
         };
 
         SmalltalkMetaclass.prototype.meta = true;
@@ -378,10 +377,6 @@ define(function () {
                 value: klass,
                 enumerable: false, configurable: true, writable: true
             });
-            Object.defineProperty(klass.fn.prototype, "klass", {
-                value: klass,
-                enumerable: false, configurable: true, writable: true
-            });
         }
 
         this.wireKlass = wireKlass;