renames jsx_opts to jsx_decoder_opts
This commit is contained in:
parent
e80d337cc0
commit
746d8e469c
3 changed files with 6 additions and 5 deletions
|
@ -46,7 +46,7 @@
|
||||||
parser() -> decoder([]).
|
parser() -> decoder([]).
|
||||||
|
|
||||||
|
|
||||||
-spec parser(OptsList::jsx_opts()) -> jsx_decoder().
|
-spec parser(OptsList::jsx_decoder_opts()) -> jsx_decoder().
|
||||||
|
|
||||||
parser(OptsList) -> decoder(OptsList).
|
parser(OptsList) -> decoder(OptsList).
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ parser(OptsList) -> decoder(OptsList).
|
||||||
decoder() -> decoder([]).
|
decoder() -> decoder([]).
|
||||||
|
|
||||||
|
|
||||||
-spec decoder(OptsList::jsx_opts()) -> jsx_decoder().
|
-spec decoder(OptsList::jsx_decoder_opts()) -> jsx_decoder().
|
||||||
|
|
||||||
|
|
||||||
decoder(OptsList) ->
|
decoder(OptsList) ->
|
||||||
|
|
|
@ -31,8 +31,9 @@
|
||||||
).
|
).
|
||||||
|
|
||||||
|
|
||||||
-type jsx_opts() :: [jsx_opt()].
|
|
||||||
-type jsx_opt() :: {escaped_unicode, ascii | codepoint | none}
|
-type jsx_decoder_opts() :: [jsx_decoder_opt()].
|
||||||
|
-type jsx_decoder_opt() :: {escaped_unicode, ascii | codepoint | none}
|
||||||
| {multi_term, true | false}
|
| {multi_term, true | false}
|
||||||
| {encoding, auto
|
| {encoding, auto
|
||||||
| utf8
|
| utf8
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
%% this file should take that into account
|
%% this file should take that into account
|
||||||
|
|
||||||
|
|
||||||
-spec decoder(OptsList::jsx_opts()) -> jsx_decoder().
|
-spec decoder(OptsList::jsx_decoder_opts()) -> jsx_decoder().
|
||||||
|
|
||||||
%% opts record for decoder
|
%% opts record for decoder
|
||||||
-record(opts, {
|
-record(opts, {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue