From 4407d2e55c3c8309cefab2c285880abdb7882125 Mon Sep 17 00:00:00 2001 From: Pavel Date: Tue, 29 Oct 2019 10:53:48 +0300 Subject: [PATCH] ignore minified assets for now --- retailcrm/public/css/.gitignore | 1 + retailcrm/public/js/.gitignore | 1 + retailcrm/public/js/retailcrm-upload.min.js | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 retailcrm/public/css/.gitignore create mode 100644 retailcrm/public/js/.gitignore delete mode 100755 retailcrm/public/js/retailcrm-upload.min.js diff --git a/retailcrm/public/css/.gitignore b/retailcrm/public/css/.gitignore new file mode 100644 index 0000000..6be0402 --- /dev/null +++ b/retailcrm/public/css/.gitignore @@ -0,0 +1 @@ +*.min.css \ No newline at end of file diff --git a/retailcrm/public/js/.gitignore b/retailcrm/public/js/.gitignore new file mode 100644 index 0000000..0baf809 --- /dev/null +++ b/retailcrm/public/js/.gitignore @@ -0,0 +1 @@ +*.min.js \ No newline at end of file diff --git a/retailcrm/public/js/retailcrm-upload.min.js b/retailcrm/public/js/retailcrm-upload.min.js deleted file mode 100755 index ffbfed8..0000000 --- a/retailcrm/public/js/retailcrm-upload.min.js +++ /dev/null @@ -1 +0,0 @@ -function _toConsumableArray(a){return _arrayWithoutHoles(a)||_iterableToArray(a)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(a){if(Symbol.iterator in Object(a)||"[object Arguments]"===Object.prototype.toString.call(a))return Array.from(a)}function _arrayWithoutHoles(a){if(Array.isArray(a)){for(var b=0,c=Array(a.length);b div.bootstrap + div.bootstrap"),this.submitAction=this.submitAction.bind(this),this.partitionId=this.partitionId.bind(this),this.setLoading=this.setLoading.bind(this),$(this.submitButton).click(this.submitAction))}a.prototype.submitAction=function(a){a.preventDefault();let b=this.partitionId($(this.input).val().toString().replace(/\s+/g,""));return 0!==b.length&&void(this.setLoading(!0),$(this.form).submit())},a.prototype.setLoading=function(a){let b=$("div#retailcrm-loading-fade");0===b.length&&$("body").append("\n
\n
\n
\n ".trim()),b.css("visibility",a?"visible":"hidden")},a.prototype.partitionId=function(a){if(""===a)return[];let b=a.split(","),c=b.filter(a=>-1===a.toString().indexOf("-")),d=b.filter(a=>-1!==a.toString().indexOf("-")),e=[];return d.forEach(a=>{let b=a.split("-");e=[].concat(_toConsumableArray(e),_toConsumableArray(_toConsumableArray(Array(+b[1]+1).keys()).slice(+b[0],+b[1]+1)))}),[].concat(_toConsumableArray(c),_toConsumableArray(e)).map(a=>+a).sort((c,a)=>c-a)},new a});