Skip to content

Instantly share code, notes, and snippets.

@yorung
Created December 5, 2015 07:08
Write "require" in Lua
function require(m)
dofile(m..".lua")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment