Merge pull request #316 from niuys/patch-2

'hotfix' code cannot use '_ENV'
This commit is contained in:
云风
2015-08-07 16:14:13 +08:00

View File

@@ -49,7 +49,9 @@ local function collect_all_uv(funcs)
collect_uv(v[4], global, envid(v[4]))
end
end
if not global["_ENV"] then
global["_ENV"] = {func = collect_uv, index = 1}
end
return global
end