From 18ee4a5421c6d47c3aef7620a3225f0a99bcd08a Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 8 Jun 2020 13:33:22 +0300 Subject: [PATCH] Ignore inputmask.binding.js (#2820) --- .gitignore | 1 + .../inputmask/bindings/inputmask.binding.js | 26 ------------------- 2 files changed, 1 insertion(+), 26 deletions(-) delete mode 100644 plugins/inputmask/bindings/inputmask.binding.js diff --git a/.gitignore b/.gitignore index f3b9b3e2c..c066ed084 100644 --- a/.gitignore +++ b/.gitignore @@ -38,6 +38,7 @@ bower_components/ /plugins/**/tests/ /plugins/daterangepicker/website/ /plugins/daterangepicker/drp.png +/plugins/inputmask/bindings/ !/plugins/**/LICENSE.md !/plugins/**/LICENSE.txt !/plugins/**/license.md diff --git a/plugins/inputmask/bindings/inputmask.binding.js b/plugins/inputmask/bindings/inputmask.binding.js deleted file mode 100644 index cfd59f82d..000000000 --- a/plugins/inputmask/bindings/inputmask.binding.js +++ /dev/null @@ -1,26 +0,0 @@ -/* - Input Mask plugin binding - http://github.com/RobinHerbots/jquery.inputmask - Copyright (c) Robin Herbots - Licensed under the MIT license - */ -(function (factory) { - factory(jQuery, window.Inputmask, window); -} -(function ($, Inputmask, window) { - $(window.document).ajaxComplete(function (event, xmlHttpRequest, ajaxOptions) { - if ($.inArray("html", ajaxOptions.dataTypes) !== -1) { - $(".inputmask, [data-inputmask], [data-inputmask-mask], [data-inputmask-alias], [data-inputmask-regex]").each(function (ndx, lmnt) { - if (lmnt.inputmask === undefined) { - Inputmask().mask(lmnt); - } - }); - } - }).ready(function () { - $(".inputmask, [data-inputmask], [data-inputmask-mask], [data-inputmask-alias],[data-inputmask-regex]").each(function (ndx, lmnt) { - if (lmnt.inputmask === undefined) { - Inputmask().mask(lmnt); - } - }); - }); -}));