require improvements, remove global Util

This commit is contained in:
kepler155c@gmail.com
2017-09-05 02:09:31 -04:00
parent 2b1d96ab37
commit ae7508e89b
82 changed files with 506 additions and 455 deletions

View File

@@ -2,7 +2,9 @@ if fs.native then
return
end
require = requireInjector(getfenv(1))
requireInjector(getfenv(1))
local Util = require('util')
fs.native = Util.shallowCopy(fs)
local fstypes = { }