aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-05-03 19:44:00 +1000
committerdaurnimator <quae@daurnimator.com>2017-05-03 19:44:00 +1000
commit4e54f8371f376125a9cfdac3015ae2e0c3e2db73 (patch)
treeced336ea17bf4b1989671f8d002cc812ce07d5eb /src
parentb575979804c25aec993e7699b2ec00265d5b70ff (diff)
downloadfengari-4e54f8371f376125a9cfdac3015ae2e0c3e2db73.tar.gz
fengari-4e54f8371f376125a9cfdac3015ae2e0c3e2db73.tar.bz2
fengari-4e54f8371f376125a9cfdac3015ae2e0c3e2db73.zip
src/lauxlib.js: buffer.b should be null or array, not a string
Diffstat (limited to 'src')
-rw-r--r--src/lauxlib.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lauxlib.js b/src/lauxlib.js
index c5e0d59..9c4b98d 100644
--- a/src/lauxlib.js
+++ b/src/lauxlib.js
@@ -11,8 +11,8 @@ const LUA_FILEHANDLE = lua.to_luastring("FILE*", true);
class luaL_Buffer {
constructor() {
+ this.b = null;
this.L = null;
- this.b = "";
}
}