Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Jun 7, 2014
1 parent 5c5aec0 commit 3576d52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ There's a Unity3D library if you'd like to make the game in Unity3D.
console.log("You scored " + data.points + " points!");
};

gameclient.addEventHandler('scored', someFunctionToHandleScoring);
gameclient.addEventListener('scored', someFunctionToHandleScoring);

A simple client might look like this

Expand Down

0 comments on commit 3576d52

Please sign in to comment.