Browse Source

kernel: Typo in event name.

Wasn't bug likely because it's a remove event,
so it wasn't actually needed
before system was fully initialized.
Herby Vojčík 4 years ago
parent
commit
9d698b1e32
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lang/base/kernel-language.js

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

@@ -268,7 +268,7 @@ define(['./kernel-goodies'], function ($goodies) {
                 emit.behaviorMethodAdded(method, this);
             };
 
-            declareEvent("behaviorMethodRemove");
+            declareEvent("behaviorMethodRemoved");
             SmalltalkBehavior.prototype.methodRemoved = function (method) {
                 emit.behaviorMethodRemoved(method, this);
             };