Skip to content

Commit

Permalink
Fixing a minor typo in the normailzeConfig. config should be an emp…
Browse files Browse the repository at this point in the history
…ty object if not provided
  • Loading branch information
pavanpodila committed Apr 26, 2013
1 parent de2962f commit fe69f87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions validator.js
Expand Up @@ -102,7 +102,7 @@ var V = (function ($) {
* @returns {Array}
*/
function normalizeConfig(config) {
config = config || config;
config = config || {};

var validations = [];

Expand Down Expand Up @@ -134,4 +134,4 @@ var V = (function ($) {


return validator;
})(jQuery);
})(jQuery);

0 comments on commit fe69f87

Please sign in to comment.