summaryrefslogtreecommitdiff
path: root/js/src/Ice/AsyncResultBase.js
diff options
context:
space:
mode:
authorJose <pepone@users.noreply.github.com>2020-12-02 11:57:35 +0100
committerGitHub <noreply@github.com>2020-12-02 11:57:35 +0100
commitb7207440a5bfceec2d9274bb403eb6540cac20f3 (patch)
treeae267765b182ef70b6484f62c8a341ad1c0ceca5 /js/src/Ice/AsyncResultBase.js
parentExpand wildcard items in VC++ projects (diff)
downloadice-b7207440a5bfceec2d9274bb403eb6540cac20f3.tar.bz2
ice-b7207440a5bfceec2d9274bb403eb6540cac20f3.tar.xz
ice-b7207440a5bfceec2d9274bb403eb6540cac20f3.zip
Workaround JS frameworks that don't support Symbol.species with Promise types (#1170)
Diffstat (limited to 'js/src/Ice/AsyncResultBase.js')
-rw-r--r--js/src/Ice/AsyncResultBase.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/Ice/AsyncResultBase.js b/js/src/Ice/AsyncResultBase.js
index e0dc8d63496..41aba896d10 100644
--- a/js/src/Ice/AsyncResultBase.js
+++ b/js/src/Ice/AsyncResultBase.js
@@ -10,7 +10,7 @@ class AsyncResultBase extends Ice.Promise
{
super();
this._communicator = communicator;
- this._instance = communicator !== null ? communicator.instance : null;
+ this._instance = communicator ? communicator.instance : null;
this._operation = op;
this._connection = connection;
this._proxy = proxy;