Permalink
Browse files

Fixing a minor typo in the normailzeConfig. `config` should be an emp…

…ty object if not provided
  • Loading branch information...
1 parent de2962f commit fe69f871149f655dda3ff159677ca68c4eb23978 @pavanpodila committed Apr 26, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 validator.js
View
@@ -102,7 +102,7 @@ var V = (function ($) {
* @returns {Array}
*/
function normalizeConfig(config) {
- config = config || config;
+ config = config || {};
var validations = [];
@@ -134,4 +134,4 @@ var V = (function ($) {
return validator;
-})(jQuery);
+})(jQuery);

0 comments on commit fe69f87

Please sign in to comment.