Procházet zdrojové kódy

Comment for addMethod()

Nicolas Petton před 12 roky
rodič
revize
fa8be84971
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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)) {