readme updated
This commit is contained in:
parent
3453c5ab2e
commit
ad0b87aa37
3 changed files with 176 additions and 3 deletions
|
@ -54,11 +54,15 @@ init(Opts) ->
|
|||
|
||||
jsx_event(start_object, {Acc, Indent, Level, value}) ->
|
||||
{Acc ++ ",\n" ++ indent(Indent, Level) ++ "{", Indent, Level + 1, new};
|
||||
jsx_event(start_object, {Acc, Indent, Level, new}) ->
|
||||
{Acc ++ ",\n" ++ indent(Indent, Level) ++ "{", Indent, Level + 1, new};
|
||||
jsx_event(start_object, {Acc, Indent, Level, _}) ->
|
||||
{Acc ++ "{", Indent, Level + 1, new};
|
||||
|
||||
jsx_event(start_array, {Acc, Indent, Level, value}) ->
|
||||
{Acc ++ ",\n" ++ indent(Indent, Level) ++ "[", Indent, Level + 1, new};
|
||||
jsx_event(start_array, {Acc, Indent, Level, new}) ->
|
||||
{Acc ++ ",\n" ++ indent(Indent, Level) ++ "[", Indent, Level + 1, new};
|
||||
jsx_event(start_array, {Acc, Indent, Level, _}) ->
|
||||
{Acc ++ "[", Indent, Level + 1, new};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue