Skip to content

Commit

Permalink
fix some mistake in the phone alias
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinHerbots committed Jan 18, 2017
1 parent e5c0043 commit 561f7a2
Show file tree
Hide file tree
Showing 24 changed files with 37 additions and 35 deletions.
2 changes: 1 addition & 1 deletion README_android.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ When browsers would implement the inputmode attribute, disabling will be possibl

##Update 18/01/2017

It seems that the GBoard fires the keydown event only with 229 as keycode. This behavior is not considered a bug as others means should be used to handle input. (when available offcourse ;-) )
It seems that the GBoard keryboard fires the keydown event only with 229 as keycode. This behavior is not considered a bug as other means should be used to handle input. (when available offcourse ;-) )
See https://github.com/w3c/input-events

##The workaround, the patchwork, the bad and ugly ;-)
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery.inputmask",
"version": "3.3.5-23",
"version": "3.3.5-25",
"main": [
"./dist/inputmask/inputmask.dependencyLib",
"./dist/inputmask/inputmask",
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "jquery_inputmask",
"repository": "robinherbots/jquery.inputmask",
"description": "jquery.inputmask is a jquery plugin which create an input mask.",
"version": "3.3.5-23",
"version": "3.3.5-25",
"keywords": [
"jquery",
"plugins",
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "robinherbots/jquery.inputmask",
"description": "jquery.inputmask is a jquery plugin which create an input mask.",
"version": "3.3.5-23",
"version": "3.3.5-25",
"type": "library",
"keywords": ["jquery", "plugins", "input", "form", "inputmask", "mask"],
"homepage": "http://robinherbots.github.io/jquery.inputmask",
Expand Down
2 changes: 1 addition & 1 deletion dist/inputmask/inputmask.date.extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* https://github.com/RobinHerbots/jquery.inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.5-23
* Version: 3.3.5-25
*/
!function(factory) {
"function" == typeof define && define.amd ? define([ "inputmask.dependencyLib", "inputmask" ], factory) : "object" == typeof exports ? module.exports = factory(require("./inputmask.dependencyLib"), require("./inputmask")) : factory(window.dependencyLib || jQuery, window.Inputmask);
Expand Down
2 changes: 1 addition & 1 deletion dist/inputmask/inputmask.dependencyLib.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* https://github.com/RobinHerbots/jquery.inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.5-23
* Version: 3.3.5-25
*/
!function(factory) {
"function" == typeof define && define.amd ? define("inputmask.dependencyLib", [ "jquery" ], factory) : "object" == typeof exports ? module.exports = factory(require("jquery")) : factory(jQuery);
Expand Down
2 changes: 1 addition & 1 deletion dist/inputmask/inputmask.extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* https://github.com/RobinHerbots/jquery.inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.5-23
* Version: 3.3.5-25
*/
!function(factory) {
"function" == typeof define && define.amd ? define([ "inputmask.dependencyLib", "inputmask" ], factory) : "object" == typeof exports ? module.exports = factory(require("./inputmask.dependencyLib"), require("./inputmask")) : factory(window.dependencyLib || jQuery, window.Inputmask);
Expand Down
2 changes: 1 addition & 1 deletion dist/inputmask/inputmask.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* https://github.com/RobinHerbots/jquery.inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.5-23
* Version: 3.3.5-25
*/
!function(factory) {
"function" == typeof define && define.amd ? define("inputmask", [ "inputmask.dependencyLib" ], factory) : "object" == typeof exports ? module.exports = factory(require("./inputmask.dependencyLib")) : factory(window.dependencyLib || jQuery);
Expand Down
2 changes: 1 addition & 1 deletion dist/inputmask/inputmask.numeric.extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* https://github.com/RobinHerbots/jquery.inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.5-23
* Version: 3.3.5-25
*/
!function(factory) {
"function" == typeof define && define.amd ? define([ "inputmask.dependencyLib", "inputmask" ], factory) : "object" == typeof exports ? module.exports = factory(require("./inputmask.dependencyLib"), require("./inputmask")) : factory(window.dependencyLib || jQuery, window.Inputmask);
Expand Down
6 changes: 3 additions & 3 deletions dist/inputmask/inputmask.phone.extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* https://github.com/RobinHerbots/jquery.inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.5-23
* Version: 3.3.5-25
*/
!function(factory) {
"function" == typeof define && define.amd ? define([ "inputmask.dependencyLib", "inputmask" ], factory) : "object" == typeof exports ? module.exports = factory(require("./inputmask.dependencyLib"), require("./inputmask")) : factory(window.dependencyLib || jQuery, window.Inputmask);
Expand All @@ -28,9 +28,9 @@
return mask += 1 === submasks.length ? submasks[0] : opts.groupmarker.start + submasks.join(opts.groupmarker.end + opts.alternatormarker + opts.groupmarker.start) + opts.groupmarker.end;
}
var maskGroups = {};
opts.phoneCodes && opts.phoneCodes.length > 1e3 && (mask = mask.substr(1, mask.length - 2),
opts.phoneCodes && (mask = mask.replace(/9/g, "\\9"), opts.phoneCodes && opts.phoneCodes.length > 1e3 && (mask = mask.substr(1, mask.length - 2),
reduceVariations(mask.split(opts.groupmarker.end + opts.alternatormarker + opts.groupmarker.start)),
mask = rebuild(maskGroups)), mask = mask.replace(/9/g, "\\9");
mask = rebuild(maskGroups)));
var mt = analyseMaskBase.call(this, mask, opts);
return mt;
}, Inputmask.extendAliases({
Expand Down
2 changes: 1 addition & 1 deletion dist/inputmask/inputmask.regex.extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* https://github.com/RobinHerbots/jquery.inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.5-23
* Version: 3.3.5-25
*/
!function(factory) {
"function" == typeof define && define.amd ? define([ "inputmask.dependencyLib", "inputmask" ], factory) : "object" == typeof exports ? module.exports = factory(require("./inputmask.dependencyLib"), require("./inputmask")) : factory(window.dependencyLib || jQuery, window.Inputmask);
Expand Down
2 changes: 1 addition & 1 deletion dist/inputmask/jquery.inputmask.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* https://github.com/RobinHerbots/jquery.inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.5-23
* Version: 3.3.5-25
*/
!function(factory) {
"function" == typeof define && define.amd ? define([ "jquery", "inputmask" ], factory) : "object" == typeof exports ? module.exports = factory(require("jquery"), require("./inputmask")) : factory(jQuery, window.Inputmask);
Expand Down
6 changes: 3 additions & 3 deletions dist/jquery.inputmask.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* https://github.com/RobinHerbots/jquery.inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.5-23
* Version: 3.3.5-25
*/
!function($) {
function Inputmask(alias, options, internal) {
Expand Down Expand Up @@ -2564,9 +2564,9 @@
return mask += 1 === submasks.length ? submasks[0] : opts.groupmarker.start + submasks.join(opts.groupmarker.end + opts.alternatormarker + opts.groupmarker.start) + opts.groupmarker.end;
}
var maskGroups = {};
opts.phoneCodes && opts.phoneCodes.length > 1e3 && (mask = mask.substr(1, mask.length - 2),
opts.phoneCodes && (mask = mask.replace(/9/g, "\\9"), opts.phoneCodes && opts.phoneCodes.length > 1e3 && (mask = mask.substr(1, mask.length - 2),
reduceVariations(mask.split(opts.groupmarker.end + opts.alternatormarker + opts.groupmarker.start)),
mask = rebuild(maskGroups)), mask = mask.replace(/9/g, "\\9");
mask = rebuild(maskGroups)));
var mt = analyseMaskBase.call(this, mask, opts);
return mt;
}, Inputmask.extendAliases({
Expand Down
2 changes: 1 addition & 1 deletion dist/min/inputmask/inputmask.date.extensions.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/min/inputmask/inputmask.dependencyLib.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
* https://github.com/RobinHerbots/jquery.inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.5-23
* Version: 3.3.5-25
*/
!function(a){"function"==typeof define&&define.amd?define("inputmask.dependencyLib",["jquery"],a):"object"==typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){return window.dependencyLib=a,a});
2 changes: 1 addition & 1 deletion dist/min/inputmask/inputmask.extensions.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 561f7a2

Please sign in to comment.