Skip to content

Commit

Permalink
remobile mobile tweak from caret
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinHerbots committed Oct 8, 2017
1 parent 7e5520a commit 361888b
Show file tree
Hide file tree
Showing 46 changed files with 16,625 additions and 14,258 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "inputmask",
"version": "4.0.1-42",
"version": "4.0.1-43",
"main": [
"./dist/inputmask/inputmask.js",
"./dist/inputmask/inputmask.extensions.js",
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": "inputmask",
"repository": "robinherbots/Inputmask",
"description": "Inputmask is a javascript library which creates an input mask. Inputmask can run against vanilla javascript, jQuery and jqlite.",
"version": "4.0.1-42",
"version": "4.0.1-43",
"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/inputmask",
"description": "Inputmask is a javascript library which creates an input mask. Inputmask can run against vanilla javascript, jQuery and jqlite.",
"version": "4.0.1-42",
"version": "4.0.1-43",
"type": "library",
"keywords": ["jquery", "plugins", "input", "form", "inputmask", "mask"],
"homepage": "http://robinherbots.github.io/Inputmask",
Expand Down
2 changes: 1 addition & 1 deletion dist/inputmask/bindings/inputmask.binding.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: 4.0.1-42
* Version: 4.0.1-43
*/

!function(factory) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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: 4.0.1-42
* Version: 4.0.1-43
*/

!function(factory) {
Expand Down Expand Up @@ -35,7 +35,7 @@
for ("boolean" == typeof target && (deep = target, target = arguments[i] || {},
i++), "object" == typeof target || $.isFunction(target) || (target = {}), i === length && (target = this,
i--); i < length; i++) if (null != (options = arguments[i])) for (name in options) src = target[name],
copy = options[name], target !== copy && (deep && copy && ($.isPlainObject(copy) || (copyIsArray = $.isArray(copy))) ? (copyIsArray ? (copyIsArray = !1,
target !== (copy = options[name]) && (deep && copy && ($.isPlainObject(copy) || (copyIsArray = $.isArray(copy))) ? (copyIsArray ? (copyIsArray = !1,
clone = src && $.isArray(src) ? src : []) : clone = src && $.isPlainObject(src) ? src : {},
target[name] = $.extend(deep, clone, copy)) : void 0 !== copy && (target[name] = copy));
return target;
Expand All @@ -44,8 +44,8 @@
if (isArraylike(obj)) for (var length = obj.length; i < length && !1 !== callback.call(obj[i], i, obj[i]); i++) ; else for (i in obj) if (!1 === callback.call(obj[i], i, obj[i])) break;
return obj;
}, $.map = function(elems, callback) {
var value, i = 0, length = elems.length, isArray = isArraylike(elems), ret = [];
if (isArray) for (;i < length; i++) null != (value = callback(elems[i], i)) && ret.push(value); else for (i in elems) null != (value = callback(elems[i], i)) && ret.push(value);
var value, i = 0, length = elems.length, ret = [];
if (isArraylike(elems)) for (;i < length; i++) null != (value = callback(elems[i], i)) && ret.push(value); else for (i in elems) null != (value = callback(elems[i], i)) && ret.push(value);
return [].concat(ret);
}, $.data = function(elem, name, data) {
return $(elem).data(name, data);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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: 4.0.1-42
* Version: 4.0.1-43
*/

!function(factory) {
Expand Down
16 changes: 8 additions & 8 deletions dist/inputmask/dependencyLibs/inputmask.dependencyLib.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: 4.0.1-42
* Version: 4.0.1-43
*/

!function(factory) {
Expand Down Expand Up @@ -34,12 +34,12 @@
return DependencyLib.prototype = {
on: function(events, handler) {
if (isValidElement(this[0])) for (var eventRegistry = this[0].eventRegistry, elem = this[0], _events = events.split(" "), endx = 0; endx < _events.length; endx++) {
var nsEvent = _events[endx].split("."), ev = nsEvent[0], namespace = nsEvent[1] || "global";
var nsEvent = _events[endx].split(".");
!function(ev, namespace) {
elem.addEventListener ? elem.addEventListener(ev, handler, !1) : elem.attachEvent && elem.attachEvent("on" + ev, handler),
eventRegistry[ev] = eventRegistry[ev] || {}, eventRegistry[ev][namespace] = eventRegistry[ev][namespace] || [],
eventRegistry[ev][namespace].push(handler);
}(ev, namespace);
}(nsEvent[0], nsEvent[1] || "global");
}
return this;
},
Expand Down Expand Up @@ -84,10 +84,10 @@
try {
evnt = new CustomEvent(ev, params);
} catch (e) {
evnt = document.createEvent("CustomEvent"), evnt.initCustomEvent(ev, params.bubbles, params.cancelable, params.detail);
(evnt = document.createEvent("CustomEvent")).initCustomEvent(ev, params.bubbles, params.cancelable, params.detail);
}
events.type && DependencyLib.extend(evnt, events), elem.dispatchEvent(evnt);
} else evnt = document.createEventObject(), evnt.eventType = ev, events.type && DependencyLib.extend(evnt, events),
} else (evnt = document.createEventObject()).eventType = ev, events.type && DependencyLib.extend(evnt, events),
elem.fireEvent("on" + evnt.eventType, evnt);
} else if (void 0 !== eventRegistry[ev]) if (arguments[0] = arguments[0].type ? arguments[0] : DependencyLib.Event(arguments[0]),
"global" === namespace) for (var nmsp in eventRegistry[ev]) for (i = 0; i < eventRegistry[ev][nmsp].length; i++) eventRegistry[ev][nmsp][i].apply(elem, arguments); else for (i = 0; i < eventRegistry[ev][namespace].length; i++) eventRegistry[ev][namespace][i].apply(elem, arguments);
Expand All @@ -105,7 +105,7 @@
for ("boolean" == typeof target && (deep = target, target = arguments[i] || {},
i++), "object" == typeof target || DependencyLib.isFunction(target) || (target = {}),
i === length && (target = this, i--); i < length; i++) if (null != (options = arguments[i])) for (name in options) src = target[name],
copy = options[name], target !== copy && (deep && copy && (DependencyLib.isPlainObject(copy) || (copyIsArray = DependencyLib.isArray(copy))) ? (copyIsArray ? (copyIsArray = !1,
target !== (copy = options[name]) && (deep && copy && (DependencyLib.isPlainObject(copy) || (copyIsArray = DependencyLib.isArray(copy))) ? (copyIsArray ? (copyIsArray = !1,
clone = src && DependencyLib.isArray(src) ? src : []) : clone = src && DependencyLib.isPlainObject(src) ? src : {},
target[name] = DependencyLib.extend(deep, clone, copy)) : void 0 !== copy && (target[name] = copy));
return target;
Expand All @@ -114,8 +114,8 @@
if (isArraylike(obj)) for (var length = obj.length; i < length && !1 !== callback.call(obj[i], i, obj[i]); i++) ; else for (i in obj) if (!1 === callback.call(obj[i], i, obj[i])) break;
return obj;
}, DependencyLib.map = function(elems, callback) {
var value, i = 0, length = elems.length, isArray = isArraylike(elems), ret = [];
if (isArray) for (;i < length; i++) null != (value = callback(elems[i], i)) && ret.push(value); else for (i in elems) null != (value = callback(elems[i], i)) && ret.push(value);
var value, i = 0, length = elems.length, ret = [];
if (isArraylike(elems)) for (;i < length; i++) null != (value = callback(elems[i], i)) && ret.push(value); else for (i in elems) null != (value = callback(elems[i], i)) && ret.push(value);
return [].concat(ret);
}, DependencyLib.data = function(owner, key, value) {
if (void 0 === value) return owner.__data ? owner.__data[key] : null;
Expand Down
2 changes: 1 addition & 1 deletion dist/inputmask/global/document.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: 4.0.1-42
* Version: 4.0.1-43
*/

"function" == typeof define && define.amd ? define(function() {
Expand Down
2 changes: 1 addition & 1 deletion dist/inputmask/global/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: 4.0.1-42
* Version: 4.0.1-43
*/

"function" == typeof define && define.amd ? define(function() {
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/Inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 4.0.1-42
* Version: 4.0.1-43
*/

!function(factory) {
Expand Down
8 changes: 4 additions & 4 deletions dist/inputmask/inputmask.extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@
* 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: 4.0.1-42
* Version: 4.0.1-43
*/

!function(factory) {
"function" == typeof define && define.amd ? define([ "./dependencyLibs/inputmask.dependencyLib", "./inputmask" ], factory) : "object" == typeof exports ? module.exports = factory(require("./dependencyLibs/inputmask.dependencyLib"), require("./inputmask")) : factory(window.dependencyLib || jQuery, window.Inputmask);
}(function($, Inputmask) {
return Inputmask.extendDefinitions({
A: {
validator: "[A-Za-z\u0410-\u044f\u0401\u0451\xc0-\xff\xb5]",
validator: "[A-Za-zА-яЁёÀ-ÿµ]",
cardinality: 1,
casing: "upper"
},
"&": {
validator: "[0-9A-Za-z\u0410-\u044f\u0401\u0451\xc0-\xff\xb5]",
validator: "[0-9A-Za-zА-яЁёÀ-ÿµ]",
cardinality: 1,
casing: "upper"
},
Expand Down Expand Up @@ -59,7 +59,7 @@
mask: "*{1,64}[.*{1,64}][.*{1,64}][.*{1,63}]@-{1,63}.-{1,63}[.-{1,63}][.-{1,63}]",
greedy: !1,
onBeforePaste: function(pastedValue, opts) {
return pastedValue = pastedValue.toLowerCase(), pastedValue.replace("mailto:", "");
return (pastedValue = pastedValue.toLowerCase()).replace("mailto:", "");
},
definitions: {
"*": {
Expand Down
Loading

0 comments on commit 361888b

Please sign in to comment.