From 68fc9e55e538e03f94509731ab41a0c8cf96710f Mon Sep 17 00:00:00 2001 From: George Halkiadakis Date: Mon, 17 Apr 2023 12:12:22 +0300 Subject: setup a real server environment (apache DocumentRoot=/var/www/public) --- html/assets/js/utils/whenAll.js | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 html/assets/js/utils/whenAll.js (limited to 'html/assets/js/utils/whenAll.js') diff --git a/html/assets/js/utils/whenAll.js b/html/assets/js/utils/whenAll.js deleted file mode 100644 index 8d1c3e2..0000000 --- a/html/assets/js/utils/whenAll.js +++ /dev/null @@ -1,13 +0,0 @@ -define(function () { - return function (deferreds) { - return $.Deferred(function (def) { - $.when.apply(jQuery, deferreds).then( - function () { - def.resolveWith(this, [Array.prototype.slice.call(arguments)]); - }, - function () { - def.rejectWith(this, [Array.prototype.slice.call(arguments)]); - }); - }); - }; -}); -- cgit v1.2.3