Skip to content

Commit

Permalink
Release 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bungle committed Sep 28, 2015
1 parent 2df9893 commit 311065d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/resty/prettycjson.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ return function(tbl, lf, id, ac)
local s, e = json(tbl)
if not s then return s, e end
lf, id, ac = lf or "\n", id or "\t", ac or " "
local i, j, k = 1, 0, 0
local r, p = {}, nil
local i, j, k, r, p = 1, 0, 0, {}, nil
local al = sub(ac, -1) == "\n"
for c in gmatch(s, ".") do
if c == "{" or c == "[" then
Expand Down

0 comments on commit 311065d

Please sign in to comment.