diff options
author | daurnimator <quae@daurnimator.com> | 2018-01-06 23:23:40 +1100 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2018-01-06 23:23:40 +1100 |
commit | 49d690ac913f025178606c8e2f64640060352ce6 (patch) | |
tree | 7d53717ed3640a8b076087859109e88f4fdf1be2 | |
parent | 3660168cb4920422b6bf131efc7f0687efc2d4cf (diff) | |
download | fengari-49d690ac913f025178606c8e2f64640060352ce6.tar.gz fengari-49d690ac913f025178606c8e2f64640060352ce6.tar.bz2 fengari-49d690ac913f025178606c8e2f64640060352ce6.zip |
src/ldump.js: Remove unneeded Number.parseInt (IE compat)
-rw-r--r-- | src/ldump.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldump.js b/src/ldump.js index f736e22..61c627b 100644 --- a/src/ldump.js +++ b/src/ldump.js @@ -6,7 +6,7 @@ const CT = defs.constant_types; const LUAC_DATA = defs.luastring_of(25, 147, 13, 10, 26, 10); const LUAC_INT = 0x5678; const LUAC_NUM = 370.5; -const LUAC_VERSION = Number.parseInt(defs.LUA_VERSION_MAJOR) * 16 + Number.parseInt(defs.LUA_VERSION_MINOR); +const LUAC_VERSION = Number(defs.LUA_VERSION_MAJOR) * 16 + Number(defs.LUA_VERSION_MINOR); const LUAC_FORMAT = 0; /* this is the official format */ class DumpState { |