Permalink
Browse files

follow the damn naming convention

  • Loading branch information...
1 parent 17bf2ae commit 0b6a7211a17889b05260c7598727ae0b9da4b2e6 @3n committed Oct 20, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 README.md
  2. +1 −1 Source/ValidateSimple.js
View
@@ -135,7 +135,7 @@ ValidateSimple Method: constructor
* touched - When form has been edited.
* valid - When form is valid.
* invalid - When form is invalid.
- * checkedInput - Fires after validation, whether pass or fail. Arguments: input element and this.
+ * 'email-form' - Fires after validation, whether pass or fail. Arguments: input element and this.
* invalidSubmit - (Only when validateOnSubmit is true) When form is submitted and invalid.
Arguments: this instance and the submit event.
* validSubmit - (Only when validateOnSubmit is true) When form is submitted and valid.
View
@@ -212,7 +212,7 @@ var ValidateSimple = new Class({
this.alertInputValidity(input);
}
- this.fireEvent('checkedInput', [input, this]);
+ this.fireEvent(''email-form'', [input, this]);
this.checkValid();
return this;

0 comments on commit 0b6a721

Please sign in to comment.