Commit bc4aeda8 authored by Wandenberg Peixoto's avatar Wandenberg Peixoto

fix long polling example, removing trailing comma

parent 1ac5c1f0
...@@ -196,7 +196,7 @@ If needed you can change this behavior using some additional directives and chan ...@@ -196,7 +196,7 @@ If needed you can change this behavior using some additional directives and chan
modes: "longpolling", modes: "longpolling",
longPollingByHeaders: false, longPollingByHeaders: false,
longPollingTagArgument: 'tag', //this is the default value, you have to change it to be the same value used on push_stream_last_received_message_tag directive longPollingTagArgument: 'tag', //this is the default value, you have to change it to be the same value used on push_stream_last_received_message_tag directive
longPollingTimeArgument: 'time' , //this is the default value, you have to change it to be the same value used on push_stream_last_received_message_time directive longPollingTimeArgument: 'time' //this is the default value, you have to change it to be the same value used on push_stream_last_received_message_time directive
}); });
pushstream.onmessage = messageReceived; pushstream.onmessage = messageReceived;
pushstream.addChannel('ch1'); pushstream.addChannel('ch1');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment