aralejs / validator

Form Validator Widget
aralejs.org/validator/
41 stars 28 forks source link

hideMessage 去除 message 参数 #49

Closed lizzie closed 11 years ago

lizzie commented 11 years ago
hideMessage: function(message, element, event) {}

改成

hideMessage: function(element, event) {}

From eyunfeis: 调用起来确实不方便,比较难难理,这个有点像是为get,和set方法都加一个val参数似的,set(val), get(val)

lizzie commented 11 years ago

暂时不去 hideMessage 的 message 参数了