Skip to content

Commit

Permalink
Fix README. Closes #58
Browse files Browse the repository at this point in the history
  • Loading branch information
Doridian authored Mar 3, 2024
1 parent 1013832 commit b9eb931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Below is an example HTML document that enables Lua scripts for the entire page:
<script type="module" src="dist/luajs.mjs"></script>
<script type="module">
import emscriptenInit from 'dist/luajs.mjs';
const LuaJS = await emscriptenInit(LuaJS);
const LuaJS = await emscriptenInit();
LuaJS.newState().then(async (L) => {
await L.enableLuaScriptTags(document);
Expand Down

0 comments on commit b9eb931

Please sign in to comment.