Cleaned code

This commit is contained in:
Abdullah Almsaeed
2015-02-20 16:46:03 -05:00
parent 45c82f5a1a
commit ffb2731764
24 changed files with 857 additions and 965 deletions

View File

@@ -464,7 +464,6 @@
while (--position > 0 && !isMask(position)) {
}
;
return position;
}
@@ -854,9 +853,6 @@
return end - (lengthBefore - buffer.length); //return new start position
}
;
function HandleRemove(input, k, pos) {
if (opts.numericInput || isRTL) {
switch (k) {
@@ -1419,8 +1415,7 @@
return getActiveBuffer().join('');
}
}
};
}
$.inputmask = {
//options default
defaults: {

View File

@@ -89,8 +89,7 @@ Allows for using regular expressions as a mask
if (currentToken.matches.length > 0)
opts.regexTokens.push(currentToken);
};
}
function validateRegexToken(token, fromGroup) {
var isvalid = false;
if (fromGroup) {