diff options
author | daurnimator <quae@daurnimator.com> | 2017-05-03 19:06:36 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-05-03 19:06:36 +1000 |
commit | 4cf090d7ede6aa3153ad912c580cfb07b1e60a9d (patch) | |
tree | dedecdebe2577103764331fe0367cfd1bfbb95df /src/lauxlib.js | |
parent | 4531d2c6485f1bda6243949adadbdec04fd2e22d (diff) | |
download | fengari-4cf090d7ede6aa3153ad912c580cfb07b1e60a9d.tar.gz fengari-4cf090d7ede6aa3153ad912c580cfb07b1e60a9d.tar.bz2 fengari-4cf090d7ede6aa3153ad912c580cfb07b1e60a9d.zip |
luaL_Buffer constructor shouldn't take a lua state
It gets set in luaL_buffinit
Diffstat (limited to 'src/lauxlib.js')
-rw-r--r-- | src/lauxlib.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lauxlib.js b/src/lauxlib.js index 0491de5..b020d04 100644 --- a/src/lauxlib.js +++ b/src/lauxlib.js @@ -10,8 +10,8 @@ const LUA_FILEHANDLE = lua.to_luastring("FILE*", true); class luaL_Buffer { - constructor(L) { - this.L = L; + constructor() { + this.L = null; this.b = ""; } } |