summaryrefslogtreecommitdiff
path: root/sandbox/hello.js
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/hello.js')
-rw-r--r--sandbox/hello.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/sandbox/hello.js b/sandbox/hello.js
index f8f6e15..df32dd8 100644
--- a/sandbox/hello.js
+++ b/sandbox/hello.js
@@ -2,7 +2,6 @@ const DataView = require('buffer-dataview');
const fs = require('fs');
const BytecodeParser = require("../src/lundump.js");
-const lua_State = require('../src/lstate.js').lua_State;
-let p = new BytecodeParser(new lua_State(), new DataView(fs.readFileSync("./sandbox/hello.bc")))
+let p = new BytecodeParser(new DataView(fs.readFileSync("./sandbox/hello.bc")))
p.luaU_undump(); \ No newline at end of file