Skip to content

Commit

Permalink
Merge branch '1.x' into 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinHerbots committed Mar 20, 2013
2 parents 4931426 + 53fff1c commit 9f13d58
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 48 deletions.
Binary file modified dist/jQuery.InputMask.2.1.8.nupkg
Binary file not shown.
5 changes: 4 additions & 1 deletion dist/jquery.inputmask.bundle.js
Expand Up @@ -2003,7 +2003,10 @@ Optional extensions on the jquery.inputmask base
},
'integer': {
regex: {
number: function (groupSeparator, groupSize) { return new RegExp("^([\+\-]?\\d*)$"); }
number: function (groupSeparator, groupSize) {
var escapedGroupSeparator = $.inputmask.escapeRegex.call(this, groupSeparator);
return new RegExp("^[\+-]?(\\d+|\\d{1," + groupSize + "}((" + escapedGroupSeparator + "\\d{" + groupSize + "})?)+)$");
}
},
alias: "decimal"
}
Expand Down

0 comments on commit 9f13d58

Please sign in to comment.