summaryrefslogtreecommitdiff
path: root/ext/mixed
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-17 15:21:30 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-22 14:53:02 -0500
commitc0d91bffc461c61af9d35aecb7c92e15648382b2 (patch)
tree4d74f1d6b08356ab96871b5278cd511ff33b0c2a /ext/mixed
parentb3212d776e3f6d735bc9d67acbebc28b7f061ba8 (diff)
Add no-shadow
Diffstat (limited to 'ext/mixed')
-rw-r--r--ext/mixed/js/core.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mixed/js/core.js b/ext/mixed/js/core.js
index 330a30fb..83813796 100644
--- a/ext/mixed/js/core.js
+++ b/ext/mixed/js/core.js
@@ -160,9 +160,9 @@ function promiseTimeout(delay, resolveValue) {
const resolve = (value) => complete(promiseResolve, value);
const reject = (value) => complete(promiseReject, value);
- const promise = new Promise((resolve, reject) => {
- promiseResolve = resolve;
- promiseReject = reject;
+ const promise = new Promise((resolve2, reject2) => {
+ promiseResolve = resolve2;
+ promiseReject = reject2;
});
timer = window.setTimeout(() => {
timer = null;