diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-15 19:49:56 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-22 14:52:09 -0500 |
commit | 56567903a5935a7e57e7a8134e3c118a2188babb (patch) | |
tree | 37066ada063f76f9e5325a8a194fdbc35d9b2fd1 /ext/bg/js/util.js | |
parent | c3e7280365a78f648ab15c8460cabfb276e077d4 (diff) |
Fix unnamed functions
Diffstat (limited to 'ext/bg/js/util.js')
-rw-r--r-- | ext/bg/js/util.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/util.js b/ext/bg/js/util.js index 9ebd2ac4..5ce4b08c 100644 --- a/ext/bg/js/util.js +++ b/ext/bg/js/util.js @@ -33,7 +33,7 @@ function utilIsolate(value) { } function utilFunctionIsolate(func) { - return function (...args) { + return function isolatedFunction(...args) { try { args = args.map((v) => utilIsolate(v)); return func.call(this, ...args); |