From 3c77d4ee1818fd44567f7f22cee81b9755b0ad7b Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sat, 06 Jul 2019 15:17:55 +0000
Subject: [PATCH] Remove JS arrow function to increase compatibility
---
common.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/common.js b/common.js
index 9551468..ef8ee79 100644
--- a/common.js
+++ b/common.js
@@ -45,7 +45,9 @@
Deferred.all = function(iterable) {
return new Deferred(
Promise.all(
- iterable.map(x => x.promise)
+ iterable.map(function(x) {
+ return x.promise;
+ })
)
);
};
--
Gitblit v1.9.1