Skip to content

Commit

Permalink
Update revalidator.js
Browse files Browse the repository at this point in the history
For the issue flatiron#98
flatiron#98
  • Loading branch information
RaghavendhraK committed Feb 26, 2015
1 parent 5d9bf2c commit 3b1add4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/revalidator.js
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@
nestedErrors.forEach(function (e) {
e.property = property + '.' + e.property
});
nestedErrors.unshift(0, 0);
nestedErrors.unshift(errors.length, 0);
Array.prototype.splice.apply(errors, nestedErrors);
}
break;
Expand Down

0 comments on commit 3b1add4

Please sign in to comment.