Explorar o código

Comment for addMethod()

Nicolas Petton %!s(int64=12) %!d(string=hai) anos
pai
achega
fa8be84971
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      js/boot.js

+ 1 - 0
js/boot.js

@@ -466,6 +466,7 @@ function Smalltalk() {
      * Add/remove a method to/from a class 
      */
 
+    /* This is a temporary version of addMethod() for backward compatibility */
 	st.addMethod = function(method_exJsSelector, klass_exMethod, exKlass) {
         if (typeof method_exJsSelector === "string") { //legacy
             if (method_exJsSelector !== st.selector(klass_exMethod.selector)) {