aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2013-08-10 11:39:40 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2013-08-10 11:39:40 +0200
commit99cd0ab683288809c7c06cdb6b0ae0b8a338ff96 (patch)
treec27982c402e24772a5edc73ca3a42725aeb5db4e
parent96cb5feb24dcedeea2f8ebeea1212476bfce4da6 (diff)
downloadEventsource-99cd0ab683288809c7c06cdb6b0ae0b8a338ff96.zip
Eventsource-99cd0ab683288809c7c06cdb6b0ae0b8a338ff96.tar.gz
Eventsource-99cd0ab683288809c7c06cdb6b0ae0b8a338ff96.tar.bz2
Format an example.
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index c4b1394..718225b 100644
--- a/README.md
+++ b/README.md
@@ -32,8 +32,8 @@ And in `index.html`, our client:
try {
- var source = new EventSource('Server.php');
- source.onopen = function ( ) {
+ var source = new EventSource('Server.php');
+ source.onopen = function ( ) {
output.appendChild(document.createElement('hr'));