Kaynağa Gözat

Comment for addMethod()

Nicolas Petton 11 yıl önce
ebeveyn
işleme
fa8be84971
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  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)) {