Software / code / prosody
Comparison
util/envload.lua @ 7728:da54ad64f6da
util.envload: Ignore use of Lua 5.1-only setfenv function [luacheck]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 20 Nov 2016 11:15:10 +0100 |
| parent | 5020:ef1eb65acbba |
| child | 7924:8487fe9fc335 |
comparison
equal
deleted
inserted
replaced
| 7726:29c20eefa306 | 7728:da54ad64f6da |
|---|---|
| 2 -- Copyright (C) 2008-2011 Florian Zeitz | 2 -- Copyright (C) 2008-2011 Florian Zeitz |
| 3 -- | 3 -- |
| 4 -- This project is MIT/X11 licensed. Please see the | 4 -- This project is MIT/X11 licensed. Please see the |
| 5 -- COPYING file in the source package for more information. | 5 -- COPYING file in the source package for more information. |
| 6 -- | 6 -- |
| 7 -- luacheck: ignore 113/setfenv | |
| 7 | 8 |
| 8 local load, loadstring, loadfile, setfenv = load, loadstring, loadfile, setfenv; | 9 local load, loadstring, loadfile, setfenv = load, loadstring, loadfile, setfenv; |
| 9 local envload; | 10 local envload; |
| 10 local envloadfile; | 11 local envloadfile; |
| 11 | 12 |