1
0
Fork 0
mirror of https://github.com/notwa/mm synced 2024-11-05 02:39:02 -08:00
mm/Lua/depend.lua
2015-11-27 21:37:48 -08:00

11 lines
240 B
Lua

_require = _require or require
local function dumbdepend(path)
if package and package.loaded and package.loaded[path] then
package.loaded[path] = nil
end
-- TODO: pcall?
return _require(path)
end
return dumbdepend