Nice little project works well was easy to setup. I had two issues you should be aware of in the docs
$.fn.pusherChat({
'pusherKey':'YOUR PUSHER KEY', // required : open an account on http://pusher.com/ to get one
'authPath':'server/pusher_auth.php', // required : path to authentication scripts more info at http://pusher.com/docs/authenticating_users
'friendsList' : 'ajax/friends-list.json', // required : path to friends list json
'serverPath' : 'server/server.php' // required : path to server
)}
The closing paren and curly brace are reversed.
Also in js file you use jquery live which has been removed since v1.9 changing live to on works just fine
Nice little project works well was easy to setup. I had two issues you should be aware of in the docs
$.fn.pusherChat({
'pusherKey':'YOUR PUSHER KEY', // required : open an account on http://pusher.com/ to get one
'authPath':'server/pusher_auth.php', // required : path to authentication scripts more info at http://pusher.com/docs/authenticating_users
'friendsList' : 'ajax/friends-list.json', // required : path to friends list json
'serverPath' : 'server/server.php' // required : path to server
)}
The closing paren and curly brace are reversed.
Also in js file you use jquery live which has been removed since v1.9 changing live to on works just fine