remove stray tabs
This commit is contained in:
parent
d3fd69a351
commit
d9e0611a52
2 changed files with 25 additions and 26 deletions
|
@ -119,9 +119,8 @@ list([Value], {Handler, State}, Opts) ->
|
||||||
list([], {Handler, State}, _Opts) -> Handler:handle_event(end_array, State);
|
list([], {Handler, State}, _Opts) -> Handler:handle_event(end_array, State);
|
||||||
list(Term, Handler, Opts) -> ?error([Term, Handler, Opts]).
|
list(Term, Handler, Opts) -> ?error([Term, Handler, Opts]).
|
||||||
|
|
||||||
|
pre_encode(Value, #opts{pre_encode=false}) -> Value; pre_encode(Value, Opts) ->
|
||||||
pre_encode(Value, #opts{pre_encode=false}) -> Value;
|
(Opts#opts.pre_encode)(Value).
|
||||||
pre_encode(Value, Opts) -> (Opts#opts.pre_encode)(Value).
|
|
||||||
|
|
||||||
|
|
||||||
fix_key(Key) when is_atom(Key) -> fix_key(atom_to_binary(Key, utf8));
|
fix_key(Key) when is_atom(Key) -> fix_key(atom_to_binary(Key, utf8));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue