mirror of
https://github.com/TangentFoxy/lume.git
synced 2024-11-19 07:04:24 +00:00
table.unpack() is now used if unpack() is not available.
This commit is contained in:
parent
89931c1ad8
commit
9bf2d24ee2
2
lume.lua
2
lume.lua
@ -10,7 +10,7 @@
|
|||||||
local lume = { _version = "1.2.1" }
|
local lume = { _version = "1.2.1" }
|
||||||
|
|
||||||
local pairs, ipairs = pairs, ipairs
|
local pairs, ipairs = pairs, ipairs
|
||||||
local type, assert, unpack = type, assert, unpack
|
local type, assert, unpack = type, assert, unpack or table.unpack
|
||||||
local tostring, tonumber = tostring, tonumber
|
local tostring, tonumber = tostring, tonumber
|
||||||
local math_floor = math.floor
|
local math_floor = math.floor
|
||||||
local math_ceil = math.ceil
|
local math_ceil = math.ceil
|
||||||
|
Loading…
Reference in New Issue
Block a user