From 88bb249473db4e4923e4c27a8e3ece7a77e738ce Mon Sep 17 00:00:00 2001 From: Mark Pulford Date: Thu, 19 Jan 2012 00:19:47 +1030 Subject: Disable registration of cjson global variable Disable registration of cjson module table global variable in the default build. Automatically creating a variable in the global namespace can cause issues for other software and is no longer recommended with Lua. --- tests/test.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test.lua b/tests/test.lua index 19fc1af..152579e 100755 --- a/tests/test.lua +++ b/tests/test.lua @@ -69,7 +69,7 @@ function load_testdata() local big = {} for i = 1, 1100 do - big = { { 10, false, true, cjson.null }, "string", a = big } + big = { { 10, false, true, json.null }, "string", a = big } end data.deeply_nested_data = big -- cgit v1.2.3-55-g6feb