summaryrefslogtreecommitdiff
path: root/public/assets/js/utils/whenAll.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/assets/js/utils/whenAll.js')
-rw-r--r--public/assets/js/utils/whenAll.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/public/assets/js/utils/whenAll.js b/public/assets/js/utils/whenAll.js
deleted file mode 100644
index 8d1c3e2..0000000
--- a/public/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)]);
- });
- });
- };
-});