|
|
@@ -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.1.64-178
|
|
|
+* Version: 3.1.64-179
|
|
|
*/
|
|
|
!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);
|
|
|
@@ -53,11 +53,11 @@
|
|
|
nptmask.mask(this);
|
|
|
});
|
|
|
} else {
|
|
|
- if ("object" == typeof fn) return void 0 === fn.mask && void 0 === fn.alias ? this.each(function() {
|
|
|
- return void 0 !== this.inputmask ? this.inputmask.option(fn) : void 0;
|
|
|
- }) : (nptmask = new Inputmask(fn), this.each(function() {
|
|
|
+ if ("object" == typeof fn) return nptmask = new Inputmask(fn), this.each(void 0 === fn.mask && void 0 === fn.alias ? function() {
|
|
|
+ return void 0 !== this.inputmask ? this.inputmask.option(fn) : void nptmask.mask(this);
|
|
|
+ } : function() {
|
|
|
nptmask.mask(this);
|
|
|
- }));
|
|
|
+ });
|
|
|
if (void 0 === fn) return this.each(function() {
|
|
|
nptmask = new Inputmask(options), nptmask.mask(this);
|
|
|
});
|