Explorar o código

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 %!s(int64=5) %!d(string=hai) anos
pai
achega
9d698b1e32
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
             };