Skip to content

Commit 06cbe56

Browse files
committed
simplified apply
1 parent b29c055 commit 06cbe56

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

docs/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esm/interpreter/pyodide.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ const toJsOptions = { dict_converter: Object.fromEntries };
88

99
const { stringify } = JSON;
1010

11+
const { apply } = Reflect;
1112
const FunctionPrototype = Function.prototype;
12-
const { call } = FunctionPrototype;
13-
const apply = call.bind(call, call.apply);
1413

1514
// REQUIRES INTEGRATION TEST
1615
/* c8 ignore start */

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,6 @@
9696
"to-json-callback": "^0.1.1"
9797
},
9898
"worker": {
99-
"blob": "sha256-ewx2lRkKJ6uwQgWpftFjRvEhjXIITAvL6MfcTaeSxTk="
99+
"blob": "sha256-O+HvjdLH9ZO5EJ2AhdtN4bWQt6Cy5lFI1uvUhA7mP1M="
100100
}
101101
}

0 commit comments

Comments
 (0)