Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Using a stable jsx version

This branch fixes the jsx version to 0.9.0 to avoid
the currently changing API of the app.
  • Loading branch information...
commit 9018214c90e222ec7db3a4daaa51e18f86b4531b 1 parent 9c6eea7
@ferd ferd authored
Showing with 2 additions and 14 deletions.
  1. +1 −1  src/socketio.app.src
  2. +1 −13 test/prop_transport.erl
View
2  src/socketio.app.src
@@ -3,7 +3,7 @@
{description, ""},
{vsn, "1"},
{registered, []},
- {agner, [{requires, ["misultin", "ossp_uuid","jsx","proper","ex_uri"]}]},
+ {agner, [{requires, ["misultin", "ossp_uuid",{"jsx","0.9.0"},"proper","ex_uri"]}]},
{applications, [
kernel,
stdlib,
View
14 test/prop_transport.erl
@@ -91,7 +91,7 @@ heartbeat() -> ?LET(N, int(), abs(N)).
json() ->
?LET(Compiled,
?LET(X, [json_data(),end_json], lists:flatten(X)),
- jsx:json_to_term(jsx:format(eventify(Compiled)))).
+ jsx:json_to_term(jsx:format(jsx:eventify(Compiled)))).
json_data() ->
?LAZY(weighted_union([
@@ -116,15 +116,3 @@ val() ->
ascii() ->
list(choose($a,$z)).
-
-
-eventify([]) ->
- fun() ->
- {incomplete, fun(List) when is_list(List) ->
- eventify(List);
- (_) ->
- erlang:error(badarg)
- end}
- end;
-eventify([Next|Rest]) ->
- fun() -> {event, Next, eventify(Rest)} end.
Please sign in to comment.
Something went wrong with that request. Please try again.