|
|
@@ -3,7 +3,7 @@
|
|
|
* http://github.com/RobinHerbots/jquery.inputmask
|
|
|
* Copyright (c) 2010 - 2014 Robin Herbots
|
|
|
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
|
|
|
-* Version: 3.0.71
|
|
|
+* Version: 3.0.72
|
|
|
*/
|
|
|
|
|
|
(function (factory) {
|
|
|
@@ -522,9 +522,9 @@
|
|
|
var altMatch2 = malternateMatches[ndx2];
|
|
|
//verify equality
|
|
|
if (altMatch.match.mask == altMatch2.match.mask && (typeof altIndex != "string" || $.inArray(altMatch.locator[loopNdxCnt].toString(), altIndexArr) != -1)) {
|
|
|
- malternateMatches.splice(ndx2, 1);
|
|
|
- altMatch.locator[loopNdxCnt] = altMatch2.locator[loopNdxCnt] + "," + altMatch.locator[loopNdxCnt];
|
|
|
- altMatch.alternation = loopNdxCnt; //we pass the alternation index => used in determineLastRequiredPosition
|
|
|
+ maltMatches.splice(ndx1, 1);
|
|
|
+ altMatch2.locator[loopNdxCnt] = altMatch2.locator[loopNdxCnt] + "," + altMatch.locator[loopNdxCnt];
|
|
|
+ altMatch2.alternation = loopNdxCnt; //we pass the alternation index => used in determineLastRequiredPosition
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
@@ -927,7 +927,7 @@
|
|
|
}
|
|
|
}
|
|
|
var unmaskedValue = (isRTL ? umValue.reverse() : umValue).join('');
|
|
|
- var bufferValue = (isRTL ? getBuffer().reverse() : getBuffer()).join('');
|
|
|
+ var bufferValue = (isRTL ? getBuffer().slice().reverse() : getBuffer()).join('');
|
|
|
if ($.isFunction(opts.onUnMask)) {
|
|
|
unmaskedValue = opts.onUnMask.call($input, bufferValue, unmaskedValue, opts);
|
|
|
}
|
|
|
@@ -1681,7 +1681,7 @@
|
|
|
var valueBuffer = actionObj["value"].split('');
|
|
|
checkVal($el, false, false, isRTL ? valueBuffer.reverse() : valueBuffer, true);
|
|
|
opts.onKeyPress.call(this, undefined, getBuffer(), 0, opts);
|
|
|
- return isRTL ? getBuffer().reverse().join('') : getBuffer().join('');
|
|
|
+ return isRTL ? getBuffer().slice().reverse().join('') : getBuffer().join('');
|
|
|
case "isValid":
|
|
|
$el = $({});
|
|
|
$el.data('_inputmask', {
|
|
|
@@ -1941,7 +1941,7 @@ Input Mask plugin extensions
|
|
|
http://github.com/RobinHerbots/jquery.inputmask
|
|
|
Copyright (c) 2010 - 2014 Robin Herbots
|
|
|
Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
|
|
|
-Version: 3.0.71
|
|
|
+Version: 3.0.72
|
|
|
|
|
|
Optional extensions on the jquery.inputmask base
|
|
|
*/
|
|
|
@@ -2069,7 +2069,7 @@ Input Mask plugin extensions
|
|
|
http://github.com/RobinHerbots/jquery.inputmask
|
|
|
Copyright (c) 2010 - 2014 Robin Herbots
|
|
|
Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
|
|
|
-Version: 3.0.71
|
|
|
+Version: 3.0.72
|
|
|
|
|
|
Optional extensions on the jquery.inputmask base
|
|
|
*/
|
|
|
@@ -2565,7 +2565,7 @@ Input Mask plugin extensions
|
|
|
http://github.com/RobinHerbots/jquery.inputmask
|
|
|
Copyright (c) 2010 - 2014 Robin Herbots
|
|
|
Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
|
|
|
-Version: 3.0.71
|
|
|
+Version: 3.0.72
|
|
|
|
|
|
Optional extensions on the jquery.inputmask base
|
|
|
*/
|
|
|
@@ -2825,7 +2825,7 @@ Input Mask plugin extensions
|
|
|
http://github.com/RobinHerbots/jquery.inputmask
|
|
|
Copyright (c) 2010 - 2014 Robin Herbots
|
|
|
Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
|
|
|
-Version: 3.0.71
|
|
|
+Version: 3.0.72
|
|
|
|
|
|
Regex extensions on the jquery.inputmask base
|
|
|
Allows for using regular expressions as a mask
|
|
|
@@ -3019,7 +3019,7 @@ Input Mask plugin extensions
|
|
|
http://github.com/RobinHerbots/jquery.inputmask
|
|
|
Copyright (c) 2010 - 2014 Robin Herbots
|
|
|
Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
|
|
|
-Version: 3.0.71
|
|
|
+Version: 3.0.72
|
|
|
|
|
|
Phone extension.
|
|
|
When using this extension make sure you specify the correct url to get the masks
|