Robin Herbots 10 年 前
コミット
4d43c55ff0
40 ファイル変更31 行追加594 行削除
  1. 1 1
      bower.json
  2. 1 1
      component.json
  3. 1 1
      composer.json
  4. 0 59
      dist/inputmask/dependencyLib.js
  5. 0 33
      dist/inputmask/dependencyLib_jqlite.js
  6. 0 12
      dist/inputmask/dependencyLib_jquery.js
  7. 0 21
      dist/inputmask/dependencyLib_zepto.js
  8. 1 1
      dist/inputmask/inputmask.date.extensions.js
  9. 1 1
      dist/inputmask/inputmask.dependencyLib.jqlite.js
  10. 1 1
      dist/inputmask/inputmask.dependencyLib.jquery.js
  11. 3 3
      dist/inputmask/inputmask.dependencyLib.js
  12. 1 1
      dist/inputmask/inputmask.dependencyLib.zepto.js
  13. 1 1
      dist/inputmask/inputmask.extensions.js
  14. 1 1
      dist/inputmask/inputmask.js
  15. 1 1
      dist/inputmask/inputmask.numeric.extensions.js
  16. 1 1
      dist/inputmask/inputmask.phone.extensions.js
  17. 1 1
      dist/inputmask/inputmask.regex.extensions.js
  18. 1 1
      dist/inputmask/jquery.inputmask.js
  19. 1 1
      dist/jquery.inputmask.bundle.js
  20. 0 8
      dist/min/inputmask/dependencyLib.min.js
  21. 0 8
      dist/min/inputmask/dependencyLib_jqlite.min.js
  22. 0 8
      dist/min/inputmask/dependencyLib_jquery.min.js
  23. 0 8
      dist/min/inputmask/dependencyLib_zepto.min.js
  24. 1 1
      dist/min/inputmask/inputmask.date.extensions.min.js
  25. 1 1
      dist/min/inputmask/inputmask.dependencyLib.jqlite.min.js
  26. 1 1
      dist/min/inputmask/inputmask.dependencyLib.jquery.min.js
  27. 2 2
      dist/min/inputmask/inputmask.dependencyLib.min.js
  28. 1 1
      dist/min/inputmask/inputmask.dependencyLib.zepto.min.js
  29. 1 1
      dist/min/inputmask/inputmask.extensions.min.js
  30. 1 1
      dist/min/inputmask/inputmask.min.js
  31. 1 1
      dist/min/inputmask/inputmask.numeric.extensions.min.js
  32. 1 1
      dist/min/inputmask/inputmask.phone.extensions.min.js
  33. 1 1
      dist/min/inputmask/inputmask.regex.extensions.min.js
  34. 1 1
      dist/min/inputmask/jquery.inputmask.min.js
  35. 0 191
      js/dependencyLib.js
  36. 0 120
      js/dependencyLib_jqlite.js
  37. 0 13
      js/dependencyLib_jquery.js
  38. 0 80
      js/dependencyLib_zepto.js
  39. 1 3
      js/inputmask.dependencyLib.js
  40. 1 1
      package.json

+ 1 - 1
bower.json

@@ -1,6 +1,6 @@
 {
   "name": "jquery.inputmask",
-  "version": "3.2.1-86",
+  "version": "3.2.1-89",
   "main": [
     "./dist/inputmask/dependencyLib.js",
     "./dist/inputmask/inputmask.js",

+ 1 - 1
component.json

@@ -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.2.1-86",
+  "version": "3.2.1-89",
   "keywords": ["jquery", "plugins", "input", "form", "inputmask", "mask"],
   "main": "./dist/jquery.inputmask.bundle.js",
   "scripts": [

+ 1 - 1
composer.json

@@ -1,7 +1,7 @@
 {
   "name": "robinherbots/jquery.inputmask",
   "description": "jquery.inputmask is a jquery plugin which create an input mask.",
-  "version": "3.2.1-86",
+  "version": "3.2.1-89",
   "type": "library",
   "keywords": ["jquery", "plugins", "input", "form", "inputmask", "mask"],
   "homepage": "http://robinherbots.github.io/jquery.inputmask",

+ 0 - 59
dist/inputmask/dependencyLib.js

@@ -1,59 +0,0 @@
-/*!
-* dependencyLib.js
-* http://github.com/RobinHerbots/jquery.inputmask
-* Copyright (c) 2010 - 2015 Robin Herbots
-* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 3.2.1-85
-*/
-!function(factory) {
-    "function" == typeof define && define.amd ? define([ "jquery" ], factory) : "object" == typeof exports ? module.exports = factory(require("jquery")) : factory(jQuery);
-}(function($) {
-    function indexOf(list, elem) {
-        for (var i = 0, len = list.length; len > i; i++) if (list[i] === elem) return i;
-        return -1;
-    }
-    function type(obj) {
-        return null == obj ? obj + "" : "object" == typeof obj || "function" == typeof obj ? class2type[class2type.toString.call(obj)] || "object" : typeof obj;
-    }
-    function Event(elem) {
-        this[0] = elem;
-    }
-    function DependencyLib(elem) {
-        return this[0] = elem, this instanceof DependencyLib ? void 0 : new DependencyLib(elem);
-    }
-    for (var class2type = {}, classTypes = "Boolean Number String Function Array Date RegExp Object Error".split(" "), nameNdx = 0; nameNdx < classTypes.length; nameNdx++) class2type["[object " + classTypes[nameNdx] + "]"] = classTypes[nameNdx].toLowerCase();
-    return Event.prototype = {
-        on: function() {
-            return $.fn.on.apply($(this[0]), arguments), this;
-        },
-        off: function() {
-            return $.fn.off.apply($(this[0]), arguments), this;
-        },
-        trigger: function() {
-            return $.fn.trigger.apply($(this[0]), arguments), this;
-        },
-        triggerHandler: function() {
-            return $.fn.triggerHandler.apply($(this[0]), arguments), this;
-        }
-    }, DependencyLib.prototype = Event.prototype, DependencyLib.isFunction = function(obj) {
-        return "function" === type(obj);
-    }, DependencyLib.noop = function() {}, DependencyLib.parseJSON = function(data) {
-        return JSON.parse(data + "");
-    }, DependencyLib.isArray = Array.isArray, DependencyLib.inArray = function(elem, arr, i) {
-        return null == arr ? -1 : indexOf(arr, elem, i);
-    }, DependencyLib.valHooks = $.valHooks, DependencyLib.isWindow = function(obj) {
-        return null != obj && obj === obj.window;
-    }, DependencyLib.isPlainObject = function(obj) {
-        return "object" !== type(obj) || obj.nodeType || DependencyLib.isWindow(obj) ? !1 : obj.constructor && !class2type.hasOwnProperty.call(obj.constructor.prototype, "isPrototypeOf") ? !1 : !0;
-    }, DependencyLib.extend = function() {
-        var options, name, src, copy, copyIsArray, clone, target = arguments[0] || {}, i = 1, length = arguments.length, deep = !1;
-        for ("boolean" == typeof target && (deep = target, target = arguments[i] || {}, 
-        i++), "object" == typeof target || DependencyLib.isFunction(target) || (target = {}), 
-        i === length && (target = this, i--); length > i; 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, 
-        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;
-    }, DependencyLib.each = $.each, DependencyLib.map = $.map, DependencyLib.Event = $.Event, 
-    DependencyLib.data = $.data, window.dependencyLib = DependencyLib, DependencyLib;
-});

+ 0 - 33
dist/inputmask/dependencyLib_jqlite.js

@@ -1,33 +0,0 @@
-/*!
-* dependencyLib_jqlite.js
-* http://github.com/RobinHerbots/jquery.inputmask
-* Copyright (c) 2010 - 2015 Robin Herbots
-* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 3.2.1-85
-*/
-!function(factory) {
-    "function" == typeof define && define.amd ? define([ "jqlite" ], factory) : "object" == typeof exports ? module.exports = factory(require("jqlite")) : factory(jQuery);
-}(function($) {
-    function type(obj) {
-        return null == obj ? obj + "" : "object" == typeof obj || "function" == typeof obj ? class2type[class2type.toString.call(obj)] || "object" : typeof obj;
-    }
-    for (var class2type = {}, classTypes = "Boolean Number String Function Array Date RegExp Object Error".split(" "), nameNdx = 0; nameNdx < classTypes.length; nameNdx++) class2type["[object " + classTypes[nameNdx] + "]"] = classTypes[nameNdx].toLowerCase();
-    return $.isFunction = function(obj) {
-        return "function" === type(obj);
-    }, $.isArray = Array.isArray, $.isWindow = function(obj) {
-        return null != obj && obj === obj.window;
-    }, $.isPlainObject = function(obj) {
-        return "object" !== type(obj) || obj.nodeType || $.isWindow(obj) ? !1 : obj.constructor && !class2type.hasOwnProperty.call(obj.constructor.prototype, "isPrototypeOf") ? !1 : !0;
-    }, $.extend = function() {
-        var options, name, src, copy, copyIsArray, clone, target = arguments[0] || {}, i = 1, length = arguments.length, deep = !1;
-        for ("boolean" == typeof target && (deep = target, target = arguments[i] || {}, 
-        i++), "object" == typeof target || $.isFunction(target) || (target = {}), i === length && (target = this, 
-        i--); length > i; 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, 
-        clone = src && $.isArray(src) ? src : []) : clone = src && $.isPlainObject(src) ? src : {}, 
-        target[name] = $.extend(deep, clone, copy)) : void 0 !== copy && (target[name] = copy));
-        return target;
-    }, $.data = function(elem, name, data) {
-        return $(elem).data(name, data);
-    }, window.dependencyLib = $, $;
-});

+ 0 - 12
dist/inputmask/dependencyLib_jquery.js

@@ -1,12 +0,0 @@
-/*!
-* dependencyLib_jquery.js
-* http://github.com/RobinHerbots/jquery.inputmask
-* Copyright (c) 2010 - 2015 Robin Herbots
-* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 3.2.1-85
-*/
-!function(factory) {
-    "function" == typeof define && define.amd ? define([ "jquery" ], factory) : "object" == typeof exports ? module.exports = factory(require("jquery")) : factory(jQuery);
-}(function($) {
-    return window.dependencyLib = $, $;
-});

+ 0 - 21
dist/inputmask/dependencyLib_zepto.js

@@ -1,21 +0,0 @@
-/*!
-* dependencyLib_zepto.js
-* http://github.com/RobinHerbots/jquery.inputmask
-* Copyright (c) 2010 - 2015 Robin Herbots
-* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 3.2.1-85
-*/
-!function(factory) {
-    "function" == typeof define && define.amd ? define([ "zepto", "zepto_data", "zepto_event" ], factory) : "object" == typeof exports ? module.exports = factory(require("zepto"), require("zepto_data"), require("zepto_event")) : factory(Zepto);
-}(function($) {
-    return $.extend = function() {
-        var options, name, src, copy, copyIsArray, clone, target = arguments[0] || {}, i = 1, length = arguments.length, deep = !1;
-        for ("boolean" == typeof target && (deep = target, target = arguments[i] || {}, 
-        i++), "object" == typeof target || $.isFunction(target) || (target = {}), i === length && (target = this, 
-        i--); length > i; 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, 
-        clone = src && $.isArray(src) ? src : []) : clone = src && $.isPlainObject(src) ? src : {}, 
-        target[name] = $.extend(deep, clone, copy)) : void 0 !== copy && (target[name] = copy));
-        return target;
-    }, $.data = $.fn.data, window.dependencyLib = $, $;
-});

+ 1 - 1
dist/inputmask/inputmask.date.extensions.js

@@ -3,7 +3,7 @@
 * http://github.com/RobinHerbots/jquery.inputmask
 * Copyright (c) 2010 - 2015 Robin Herbots
 * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 3.2.1-86
+* Version: 3.2.1-89
 */
 !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);

+ 1 - 1
dist/inputmask/inputmask.dependencyLib.jqlite.js

@@ -3,7 +3,7 @@
 * http://github.com/RobinHerbots/jquery.inputmask
 * Copyright (c) 2010 - 2015 Robin Herbots
 * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 3.2.1-86
+* Version: 3.2.1-89
 */
 !function(factory) {
     "function" == typeof define && define.amd ? define([ "jqlite" ], factory) : "object" == typeof exports ? module.exports = factory(require("jqlite")) : factory(jQuery);

+ 1 - 1
dist/inputmask/inputmask.dependencyLib.jquery.js

@@ -3,7 +3,7 @@
 * http://github.com/RobinHerbots/jquery.inputmask
 * Copyright (c) 2010 - 2015 Robin Herbots
 * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 3.2.1-86
+* Version: 3.2.1-89
 */
 !function(factory) {
     "function" == typeof define && define.amd ? define([ "jquery" ], factory) : "object" == typeof exports ? module.exports = factory(require("jquery")) : factory(jQuery);

+ 3 - 3
dist/inputmask/inputmask.dependencyLib.js

@@ -3,7 +3,7 @@
 * http://github.com/RobinHerbots/jquery.inputmask
 * Copyright (c) 2010 - 2015 Robin Herbots
 * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 3.2.1-86
+* Version: 3.2.1-89
 */
 !function(factory) {
     "function" == typeof define && define.amd ? define([ "jquery" ], factory) : "object" == typeof exports ? module.exports = factory(require("jquery")) : factory(jQuery);
@@ -19,7 +19,7 @@
         this[0] = elem;
     }
     function DependencyLib(elem) {
-        return this[0] = elem, this instanceof DependencyLib ? void 0 : new DependencyLib(elem);
+        return this instanceof DependencyLib ? void 0 : new Event(elem);
     }
     for (var class2type = {}, classTypes = "Boolean Number String Function Array Date RegExp Object Error".split(" "), nameNdx = 0; nameNdx < classTypes.length; nameNdx++) class2type["[object " + classTypes[nameNdx] + "]"] = classTypes[nameNdx].toLowerCase();
     return Event.prototype = {
@@ -35,7 +35,7 @@
         triggerHandler: function() {
             return $.fn.triggerHandler.apply($(this[0]), arguments), this;
         }
-    }, DependencyLib.prototype = Event.prototype, DependencyLib.isFunction = function(obj) {
+    }, DependencyLib.isFunction = function(obj) {
         return "function" === type(obj);
     }, DependencyLib.noop = function() {}, DependencyLib.parseJSON = function(data) {
         return JSON.parse(data + "");

+ 1 - 1
dist/inputmask/inputmask.dependencyLib.zepto.js

@@ -3,7 +3,7 @@
 * http://github.com/RobinHerbots/jquery.inputmask
 * Copyright (c) 2010 - 2015 Robin Herbots
 * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 3.2.1-86
+* Version: 3.2.1-89
 */
 !function(factory) {
     "function" == typeof define && define.amd ? define([ "zepto", "zepto_data", "zepto_event" ], factory) : "object" == typeof exports ? module.exports = factory(require("zepto"), require("zepto_data"), require("zepto_event")) : factory(Zepto);

+ 1 - 1
dist/inputmask/inputmask.extensions.js

@@ -3,7 +3,7 @@
 * http://github.com/RobinHerbots/jquery.inputmask
 * Copyright (c) 2010 - 2015 Robin Herbots
 * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 3.2.1-86
+* Version: 3.2.1-89
 */
 !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);

+ 1 - 1
dist/inputmask/inputmask.js

@@ -3,7 +3,7 @@
 * http://github.com/RobinHerbots/jquery.inputmask
 * Copyright (c) 2010 - 2015 Robin Herbots
 * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 3.2.1-86
+* Version: 3.2.1-89
 */
 !function(factory) {
     "function" == typeof define && define.amd ? define([ "inputmask.dependencyLib" ], factory) : "object" == typeof exports ? module.exports = factory(require("./inputmask.dependencyLib")) : factory(window.dependencyLib || jQuery);

+ 1 - 1
dist/inputmask/inputmask.numeric.extensions.js

@@ -3,7 +3,7 @@
 * http://github.com/RobinHerbots/jquery.inputmask
 * Copyright (c) 2010 - 2015 Robin Herbots
 * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 3.2.1-86
+* Version: 3.2.1-89
 */
 !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);

+ 1 - 1
dist/inputmask/inputmask.phone.extensions.js

@@ -3,7 +3,7 @@
 * http://github.com/RobinHerbots/jquery.inputmask
 * Copyright (c) 2010 - 2015 Robin Herbots
 * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 3.2.1-86
+* Version: 3.2.1-89
 */
 !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);

+ 1 - 1
dist/inputmask/inputmask.regex.extensions.js

@@ -3,7 +3,7 @@
 * http://github.com/RobinHerbots/jquery.inputmask
 * Copyright (c) 2010 - 2015 Robin Herbots
 * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 3.2.1-86
+* Version: 3.2.1-89
 */
 !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);

+ 1 - 1
dist/inputmask/jquery.inputmask.js

@@ -3,7 +3,7 @@
 * http://github.com/RobinHerbots/jquery.inputmask
 * Copyright (c) 2010 - 2015 Robin Herbots
 * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 3.2.1-86
+* Version: 3.2.1-89
 */
 !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);

+ 1 - 1
dist/jquery.inputmask.bundle.js

@@ -3,7 +3,7 @@
 * http://github.com/RobinHerbots/jquery.inputmask
 * Copyright (c) 2010 - 2015 Robin Herbots
 * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 3.2.1-86
+* Version: 3.2.1-89
 */
 !function($) {
     function Inputmask(options) {

ファイルの差分が大きいため隠しています
+ 0 - 8
dist/min/inputmask/dependencyLib.min.js


ファイルの差分が大きいため隠しています
+ 0 - 8
dist/min/inputmask/dependencyLib_jqlite.min.js


+ 0 - 8
dist/min/inputmask/dependencyLib_jquery.min.js

@@ -1,8 +0,0 @@
-/*!
-* dependencyLib_jquery.min.js
-* http://github.com/RobinHerbots/jquery.inputmask
-* Copyright (c) 2010 - 2015 Robin Herbots
-* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 3.2.1-85
-*/
-!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){return window.dependencyLib=a,a});

ファイルの差分が大きいため隠しています
+ 0 - 8
dist/min/inputmask/dependencyLib_zepto.min.js


ファイルの差分が大きいため隠しています
+ 1 - 1
dist/min/inputmask/inputmask.date.extensions.min.js


ファイルの差分が大きいため隠しています
+ 1 - 1
dist/min/inputmask/inputmask.dependencyLib.jqlite.min.js


+ 1 - 1
dist/min/inputmask/inputmask.dependencyLib.jquery.min.js

@@ -3,6 +3,6 @@
 * http://github.com/RobinHerbots/jquery.inputmask
 * Copyright (c) 2010 - 2015 Robin Herbots
 * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 3.2.1-86
+* Version: 3.2.1-89
 */
 !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){return window.dependencyLib=a,a});

ファイルの差分が大きいため隠しています
+ 2 - 2
dist/min/inputmask/inputmask.dependencyLib.min.js


ファイルの差分が大きいため隠しています
+ 1 - 1
dist/min/inputmask/inputmask.dependencyLib.zepto.min.js


ファイルの差分が大きいため隠しています
+ 1 - 1
dist/min/inputmask/inputmask.extensions.min.js


ファイルの差分が大きいため隠しています
+ 1 - 1
dist/min/inputmask/inputmask.min.js


ファイルの差分が大きいため隠しています
+ 1 - 1
dist/min/inputmask/inputmask.numeric.extensions.min.js


ファイルの差分が大きいため隠しています
+ 1 - 1
dist/min/inputmask/inputmask.phone.extensions.min.js


ファイルの差分が大きいため隠しています
+ 1 - 1
dist/min/inputmask/inputmask.regex.extensions.min.js


ファイルの差分が大きいため隠しています
+ 1 - 1
dist/min/inputmask/jquery.inputmask.min.js


+ 0 - 191
js/dependencyLib.js

@@ -1,191 +0,0 @@
-(function(factory) {
-		if (typeof define === "function" && define.amd) {
-			define(["jquery"], factory);
-		} else if (typeof exports === "object") {
-			module.exports = factory(require("jquery"));
-		} else {
-			factory(jQuery);
-		}
-	}
-	(function($) {
-
-		//helper functions
-
-		// Use a stripped-down indexOf as it's faster than native
-		// http://jsperf.com/thor-indexof-vs-for/5
-		function indexOf(list, elem) {
-			var i = 0,
-				len = list.length;
-			for (; i < len; i++) {
-				if (list[i] === elem) {
-					return i;
-				}
-			}
-			return -1;
-		}
-
-		var class2type = {},
-			classTypes = "Boolean Number String Function Array Date RegExp Object Error".split(" ");
-		for (var nameNdx = 0; nameNdx < classTypes.length; nameNdx++) {
-			class2type["[object " + classTypes[nameNdx] + "]"] = classTypes[nameNdx].toLowerCase();
-		}
-
-		function type(obj) {
-			if (obj == null) {
-				return obj + "";
-			}
-			// Support: Android<4.0, iOS<6 (functionish RegExp)
-			return typeof obj === "object" || typeof obj === "function" ?
-				class2type[class2type.toString.call(obj)] || "object" :
-				typeof obj;
-		}
-
-		//micro event lib
-		function Event(elem) {
-			this[0] = elem;
-		}
-
-		Event.prototype = {
-			on: function() {
-				$.fn.on.apply($(this[0]), arguments);
-				return this;
-			},
-			off: function() {
-				$.fn.off.apply($(this[0]), arguments);
-				return this;
-			},
-			trigger: function() {
-				$.fn.trigger.apply($(this[0]), arguments);
-				return this;
-			},
-			triggerHandler: function() {
-				$.fn.triggerHandler.apply($(this[0]), arguments);
-				return this;
-			}
-		};
-
-		function getDomEvents() {
-			var domEvents = [];
-			for (var i in document) {
-				if (i.substring(0, 2) === "on" && (document[i] === null || typeof document[i] === 'function'))
-					domEvents.push(i);
-			}
-			return domEvents;
-		};
-
-
-		function DependencyLib(elem) {
-			this[0] = elem;
-			if (!(this instanceof DependencyLib)) {
-				return new DependencyLib(elem);
-			}
-		}
-		DependencyLib.prototype = Event.prototype;
-
-		//static
-		DependencyLib.isFunction = function(obj) {
-			return type(obj) === "function";
-		};
-		DependencyLib.noop = function() {};
-		DependencyLib.parseJSON = function(data) {
-			return JSON.parse(data + "");
-		};
-		DependencyLib.isArray = Array.isArray;
-		DependencyLib.inArray = function(elem, arr, i) {
-			return arr == null ? -1 : indexOf(arr, elem, i);
-		};
-		DependencyLib.valHooks = $.valHooks;
-		DependencyLib.isWindow = function(obj) {
-			return obj != null && obj === obj.window;
-		};
-		DependencyLib.isPlainObject = function(obj) {
-			// Not plain objects:
-			// - Any object or value whose internal [[Class]] property is not "[object Object]"
-			// - DOM nodes
-			// - window
-			if (type(obj) !== "object" || obj.nodeType || DependencyLib.isWindow(obj)) {
-				return false;
-			}
-
-			if (obj.constructor && !class2type.hasOwnProperty.call(obj.constructor.prototype, "isPrototypeOf")) {
-				return false;
-			}
-
-			// If the function hasn't returned already, we're confident that
-			// |obj| is a plain object, created by {} or constructed with new Object
-			return true;
-		};
-
-		DependencyLib.extend = function() {
-			var options, name, src, copy, copyIsArray, clone,
-				target = arguments[0] || {},
-				i = 1,
-				length = arguments.length,
-				deep = false;
-
-			// Handle a deep copy situation
-			if (typeof target === "boolean") {
-				deep = target;
-
-				// Skip the boolean and the target
-				target = arguments[i] || {};
-				i++;
-			}
-
-			// Handle case when target is a string or something (possible in deep copy)
-			if (typeof target !== "object" && !DependencyLib.isFunction(target)) {
-				target = {};
-			}
-
-			// Extend jQuery itself if only one argument is passed
-			if (i === length) {
-				target = this;
-				i--;
-			}
-
-			for (; i < length; i++) {
-				// Only deal with non-null/undefined values
-				if ((options = arguments[i]) != null) {
-					// Extend the base object
-					for (name in options) {
-						src = target[name];
-						copy = options[name];
-
-						// Prevent never-ending loop
-						if (target === copy) {
-							continue;
-						}
-
-						// Recurse if we're merging plain objects or arrays
-						if (deep && copy && (DependencyLib.isPlainObject(copy) || (copyIsArray = DependencyLib.isArray(copy)))) {
-							if (copyIsArray) {
-								copyIsArray = false;
-								clone = src && DependencyLib.isArray(src) ? src : [];
-
-							} else {
-								clone = src && DependencyLib.isPlainObject(src) ? src : {};
-							}
-
-							// Never move original objects, clone them
-							target[name] = DependencyLib.extend(deep, clone, copy);
-
-							// Don't bring in undefined values
-						} else if (copy !== undefined) {
-							target[name] = copy;
-						}
-					}
-				}
-			}
-
-			// Return the modified object
-			return target;
-		};
-
-		DependencyLib.each = $.each;
-		DependencyLib.map = $.map;
-		DependencyLib.Event = $.Event; //needs to be replaced
-		DependencyLib.data = $.data; //needs to be replaced
-
-		window.dependencyLib = DependencyLib;
-		return DependencyLib;
-	}));

+ 0 - 120
js/dependencyLib_jqlite.js

@@ -1,120 +0,0 @@
-(function(factory) {
-		if (typeof define === "function" && define.amd) {
-			define(["jqlite"], factory);
-		} else if (typeof exports === "object") {
-			module.exports = factory(require("jqlite"));
-		} else {
-			factory(jQuery);
-		}
-	}
-	(function($) {
-		var class2type = {},
-			classTypes = "Boolean Number String Function Array Date RegExp Object Error".split(" ");
-		for (var nameNdx = 0; nameNdx < classTypes.length; nameNdx++) {
-			class2type["[object " + classTypes[nameNdx] + "]"] = classTypes[nameNdx].toLowerCase();
-		}
-
-		function type(obj) {
-			if (obj == null) {
-				return obj + "";
-			}
-			// Support: Android<4.0, iOS<6 (functionish RegExp)
-			return typeof obj === "object" || typeof obj === "function" ?
-				class2type[class2type.toString.call(obj)] || "object" :
-				typeof obj;
-		}
-		$.isFunction = function(obj) {
-			return type(obj) === "function";
-		};
-		$.isArray = Array.isArray;
-		$.isWindow = function(obj) {
-			return obj != null && obj === obj.window;
-		};
-		$.isPlainObject = function(obj) {
-			// Not plain objects:
-			// - Any object or value whose internal [[Class]] property is not "[object Object]"
-			// - DOM nodes
-			// - window
-			if (type(obj) !== "object" || obj.nodeType || $.isWindow(obj)) {
-				return false;
-			}
-
-			if (obj.constructor && !class2type.hasOwnProperty.call(obj.constructor.prototype, "isPrototypeOf")) {
-				return false;
-			}
-
-			// If the function hasn't returned already, we're confident that
-			// |obj| is a plain object, created by {} or constructed with new Object
-			return true;
-		};
-		$.extend = function() {
-			var options, name, src, copy, copyIsArray, clone,
-				target = arguments[0] || {},
-				i = 1,
-				length = arguments.length,
-				deep = false;
-
-			// Handle a deep copy situation
-			if (typeof target === "boolean") {
-				deep = target;
-
-				// Skip the boolean and the target
-				target = arguments[i] || {};
-				i++;
-			}
-
-			// Handle case when target is a string or something (possible in deep copy)
-			if (typeof target !== "object" && !$.isFunction(target)) {
-				target = {};
-			}
-
-			// Extend jQuery itself if only one argument is passed
-			if (i === length) {
-				target = this;
-				i--;
-			}
-
-			for (; i < length; i++) {
-				// Only deal with non-null/undefined values
-				if ((options = arguments[i]) != null) {
-					// Extend the base object
-					for (name in options) {
-						src = target[name];
-						copy = options[name];
-
-						// Prevent never-ending loop
-						if (target === copy) {
-							continue;
-						}
-
-						// Recurse if we're merging plain objects or arrays
-						if (deep && copy && ($.isPlainObject(copy) || (copyIsArray = $.isArray(copy)))) {
-							if (copyIsArray) {
-								copyIsArray = false;
-								clone = src && $.isArray(src) ? src : [];
-
-							} else {
-								clone = src && $.isPlainObject(src) ? src : {};
-							}
-
-							// Never move original objects, clone them
-							target[name] = $.extend(deep, clone, copy);
-
-							// Don't bring in undefined values
-						} else if (copy !== undefined) {
-							target[name] = copy;
-						}
-					}
-				}
-			}
-
-			// Return the modified object
-			return target;
-		};
-		$.data = function(elem, name, data) {
-			return $(elem).data(name, data);
-		};
-
-		window.dependencyLib = $;
-		return $;
-	}));

+ 0 - 13
js/dependencyLib_jquery.js

@@ -1,13 +0,0 @@
-(function(factory) {
-		if (typeof define === "function" && define.amd) {
-			define(["jquery"], factory);
-		} else if (typeof exports === "object") {
-			module.exports = factory(require("jquery"));
-		} else {
-			factory(jQuery);
-		}
-	}
-	(function($) {
-		window.dependencyLib = $;
-		return $;
-	}));

+ 0 - 80
js/dependencyLib_zepto.js

@@ -1,80 +0,0 @@
-(function(factory) {
-		if (typeof define === "function" && define.amd) {
-			define(["zepto", "zepto_data", "zepto_event"], factory);
-		} else if (typeof exports === "object") {
-			module.exports = factory(require("zepto"), require("zepto_data"), require("zepto_event"));
-		} else {
-			factory(Zepto); //requires a zepto build with data & event
-		}
-	}
-	(function($) {
-		$.extend = function() {
-			var options, name, src, copy, copyIsArray, clone,
-				target = arguments[0] || {},
-				i = 1,
-				length = arguments.length,
-				deep = false;
-
-			// Handle a deep copy situation
-			if (typeof target === "boolean") {
-				deep = target;
-
-				// Skip the boolean and the target
-				target = arguments[i] || {};
-				i++;
-			}
-
-			// Handle case when target is a string or something (possible in deep copy)
-			if (typeof target !== "object" && !$.isFunction(target)) {
-				target = {};
-			}
-
-			// Extend jQuery itself if only one argument is passed
-			if (i === length) {
-				target = this;
-				i--;
-			}
-
-			for (; i < length; i++) {
-				// Only deal with non-null/undefined values
-				if ((options = arguments[i]) != null) {
-					// Extend the base object
-					for (name in options) {
-						src = target[name];
-						copy = options[name];
-
-						// Prevent never-ending loop
-						if (target === copy) {
-							continue;
-						}
-
-						// Recurse if we're merging plain objects or arrays
-						if (deep && copy && ($.isPlainObject(copy) || (copyIsArray = $.isArray(copy)))) {
-							if (copyIsArray) {
-								copyIsArray = false;
-								clone = src && $.isArray(src) ? src : [];
-
-							} else {
-								clone = src && $.isPlainObject(src) ? src : {};
-							}
-
-							// Never move original objects, clone them
-							target[name] = $.extend(deep, clone, copy);
-
-							// Don't bring in undefined values
-						} else if (copy !== undefined) {
-							target[name] = copy;
-						}
-					}
-				}
-			}
-
-			// Return the modified object
-			return target;
-		};
-		$.data = function(elem, name, data) {
-			return $(elem).data(name, data);
-		};
-		window.dependencyLib = $;
-		return $;
-	}));

+ 1 - 3
js/inputmask.dependencyLib.js

@@ -75,12 +75,10 @@
 
 
 		function DependencyLib(elem) {
-			this[0] = elem;
 			if (!(this instanceof DependencyLib)) {
-				return new DependencyLib(elem);
+				return new Event(elem);
 			}
 		}
-		DependencyLib.prototype = Event.prototype;
 
 		//static
 		DependencyLib.isFunction = function(obj) {

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "jquery.inputmask",
-  "version": "3.2.1-86",
+  "version": "3.2.1-89",
   "description": "jquery.inputmask is a jquery plugin which create an input mask.",
   "main": "./dist/inputmask/jquery.inputmask.js",
   "files": [