From 9bf2d24ee20716ad3e22f02501b53f6fcfa970ac Mon Sep 17 00:00:00 2001 From: rxi Date: Sat, 29 Mar 2014 00:18:56 +0000 Subject: [PATCH] table.unpack() is now used if unpack() is not available. --- lume.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lume.lua b/lume.lua index dc0ed9c..f6aeb72 100644 --- a/lume.lua +++ b/lume.lua @@ -10,7 +10,7 @@ local lume = { _version = "1.2.1" } 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 math_floor = math.floor local math_ceil = math.ceil