summaryrefslogtreecommitdiff
path: root/runtime/js/99_main.js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js/99_main.js')
-rw-r--r--runtime/js/99_main.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js
index 7f24e10cd..977755007 100644
--- a/runtime/js/99_main.js
+++ b/runtime/js/99_main.js
@@ -129,15 +129,15 @@ delete Object.prototype.__proto__;
}
function opPostMessage(data) {
- core.jsonOpSync("op_worker_post_message", null, data);
+ core.opSync("op_worker_post_message", null, data);
}
function opCloseWorker() {
- core.jsonOpSync("op_worker_close");
+ core.opSync("op_worker_close");
}
function opMainModule() {
- return core.jsonOpSync("op_main_module");
+ return core.opSync("op_main_module");
}
function runtimeStart(runtimeOptions, source) {