From 005630929c0af4349433e5ab9684c2860f0b6b64 Mon Sep 17 00:00:00 2001 From: Nik Graf Date: Wed, 13 Jun 2018 19:13:02 +0200 Subject: [PATCH] clarify js part in the readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d1866174..242fa259 100644 --- a/README.md +++ b/README.md @@ -148,10 +148,10 @@ support!. Let's take a look at that and see how it works. First create an `index.js` file: ```js -const js = import("./js_hello_world"); +const helloWorld = import("./js_hello_world"); -js.then(js => { - js.greet("World!"); +helloWorld.then(wasmModule => { + wasmModule.greet("World!"); }); ```