Software /
code /
prosody
Comparison
util/multitable.lua @ 8389:5d866eb8f18f
util: Ignore some Lua 5.1 vs 5.2 compat things [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 10 Nov 2017 17:47:11 +0100 |
parent | 8382:e5d00bf4a4d5 |
child | 8555:4f0f5b49bb03 |
comparison
equal
deleted
inserted
replaced
8387:7d61431e1aa6 | 8389:5d866eb8f18f |
---|---|
7 -- | 7 -- |
8 | 8 |
9 local select = select; | 9 local select = select; |
10 local t_insert = table.insert; | 10 local t_insert = table.insert; |
11 local pairs, next, type = pairs, next, type; | 11 local pairs, next, type = pairs, next, type; |
12 local unpack = table.unpack or unpack; --luacheck: ignore 113 | 12 local unpack = table.unpack or unpack; --luacheck: ignore 113 143 |
13 | 13 |
14 local _ENV = nil; | 14 local _ENV = nil; |
15 | 15 |
16 local function get(self, ...) | 16 local function get(self, ...) |
17 local t = self.data; | 17 local t = self.data; |