@@ -1,6 +1,6 @@
{
"name": "inputmask",
- "version": "3.3.6-47",
+ "version": "3.3.6-49",
"main": [
"./dist/inputmask/inputmask.js",
"./dist/inputmask/inputmask.extensions.js",
@@ -2,7 +2,7 @@
"repository": "robinherbots/Inputmask",
"description": "Inputmask is a javascript library which creates an input mask. Inputmask can run against vanilla javascript, jQuery and jqlite.",
"keywords": [
"jquery",
"plugins",
@@ -1,7 +1,7 @@
"name": "robinherbots/inputmask",
"type": "library",
"keywords": ["jquery", "plugins", "input", "form", "inputmask", "mask"],
"homepage": "http://robinherbots.github.io/Inputmask",
@@ -3,7 +3,7 @@
* https://github.com/RobinHerbots/Inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 3.3.6-47
+* Version: 3.3.6-49
*/
!function(factory) {
"function" == typeof define && define.amd ? define(function() {
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a(require("jquery")):window.dependencyLib=a(jQuery)}(function(a){return a});
"function"==typeof define&&define.amd?define(function(){return document}):"object"==typeof exports&&(module.exports=document);
"function"==typeof define&&define.amd?define(function(){return window}):"object"==typeof exports&&(module.exports=window);
@@ -2113,8 +2113,8 @@
!isMask(rl, true) &&
(validPos = (lv !== undefined ? getTestTemplate(rl, lv.locator.slice(""), lv) : getTest(rl))) &&
validPos.match.optionality !== true &&
- ((validPos.match.optionalQuantifier !== true && validPos.match.newBlockMarker !== true) ||
- (lv !== undefined ? getTestTemplate(rl + 1, lv.locator.slice(""), lv) : getTest(rl + 1)).match.def === "")) {
+ ((validPos.match.optionalQuantifier !== true && validPos.match.newBlockMarker !== true) || (rl + 1 === bl &&
+ (lv !== undefined ? getTestTemplate(rl + 1, lv.locator.slice(""), lv) : getTest(rl + 1)).match.def === ""))) {
rl++;
}
"main": "index.js",
"files": [
@@ -365,7 +365,7 @@ define([
$("#testmask").Type("abc");
- assert.equal(testmask.value, "A.B.C", "Result " + testmask.value);
+ assert.equal(testmask.value, "A.B.C.", "Result " + testmask.value);
});
qunit.test("{ mask: \"A\", placeholder: \"\", repeat: 16 }) - type testtest - glosswordteam", function (assert) {