Skip to content

Instantly share code, notes, and snippets.

View return5's full-sized avatar
๐Ÿ€
edit status

chris return5

๐Ÿ€
edit status
  • tennessee
  • 02:03 (UTC -05:00)
View GitHub Profile
@return5
return5 / dysnomia-single-file.lua
Last active March 20, 2024 02:09
single file module of project-dysnomia
package.preload['dysnomiaConfig.config'] = (function (...)
local _ENV = _ENV;
local function module(name, ...)
local t = package.loaded[name] or _ENV[name] or { _NAME = name };
package.loaded[name] = t;
for i = 1, select("#", ...) do
(select(i, ...))(t);
end
_ENV = t;
_M = t;