From 3576d5252405b82916196db84d389118c0a701e4 Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Sat, 7 Jun 2014 22:36:54 +0900 Subject: [PATCH] update README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dd497156..6ca35f6e 100644 --- a/README.md +++ b/README.md @@ -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