Add home login views tests

This commit is contained in:
Nicolas Le Goff
2013-06-11 15:13:25 +02:00
parent 39be3c7b1f
commit 1338475893
9 changed files with 183 additions and 6 deletions

View File

@@ -58,6 +58,10 @@ define([
return this.errors.length > 0;
};
FormValidator.prototype.getRules = function() {
return this.rules;
};
FormValidator.prototype._addField = function(field) {
this.fields.push({
name: field.name,