Browse Source

Remove unused method.

Herby Vojčík 5 years ago
parent
commit
0d9bd1b898
3 changed files with 6 additions and 29 deletions
  1. 6 0
      lang/API-CHANGES.txt
  2. 0 25
      lang/src/Kernel-Infrastructure.js
  3. 0 4
      lang/src/Kernel-Infrastructure.st

+ 6 - 0
lang/API-CHANGES.txt

@@ -1,3 +1,9 @@
+0.24.0:
+
+- SmalltalkImage >>
+  - includesKey:
+
+
 0.23.0:
 
 * Namespace change: amber_core => amber/core.

+ 0 - 25
lang/src/Kernel-Infrastructure.js

@@ -3544,31 +3544,6 @@ messageSends: []
 }),
 $globals.SmalltalkImage);
 
-$core.addMethod(
-$core.method({
-selector: "includesKey:",
-protocol: "accessing",
-fn: function (aKey){
-var self=this,$self=this;
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
-return $core.withContext(function($ctx1) {
-//>>excludeEnd("ctx");
-return $core.hasOwnProperty(aKey);
-return self;
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
-}, function($ctx1) {$ctx1.fill(self,"includesKey:",{aKey:aKey})});
-//>>excludeEnd("ctx");
-},
-//>>excludeStart("ide", pragmas.excludeIdeData);
-args: ["aKey"],
-source: "includesKey: aKey\x0a\x09<inlineJS: 'return $core.hasOwnProperty(aKey)'>",
-referencedClasses: [],
-//>>excludeEnd("ide");
-pragmas: [["inlineJS:", ["return $core.hasOwnProperty(aKey)"]]],
-messageSends: []
-}),
-$globals.SmalltalkImage);
-
 $core.addMethod(
 $core.method({
 selector: "isSmalltalkObject:",

+ 0 - 4
lang/src/Kernel-Infrastructure.st

@@ -848,10 +848,6 @@ globals
 	<inlineJS: 'return $globals'>
 !
 
-includesKey: aKey
-	<inlineJS: 'return $core.hasOwnProperty(aKey)'>
-!
-
 optOut: anObject
 	"A Smalltalk object has a 'a$cls' property.
 	This shadows the property for anObject.