Skip to content

Commit

Permalink
make it work with lua 5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholas-leonard committed Oct 14, 2015
1 parent 329247d commit 39f2e6f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dkjson.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ if register_global_module_table then
_G[global_module_name] = json
end

local _ENV = nil -- blocking globals in Lua 5.2

pcall (function()
-- Enable access to blocked metatables.
-- Don't worry, this module doesn't change anything in them.
Expand Down

0 comments on commit 39f2e6f

Please sign in to comment.