Skip to content

Instantly share code, notes, and snippets.

@jsgoecke
Created March 11, 2013 04:37
Show Gist options
  • Save jsgoecke/5131916 to your computer and use it in GitHub Desktop.
Save jsgoecke/5131916 to your computer and use it in GitHub Desktop.
phono = $.phono(
apiKey: "YOUR_API_KEY_GOES_HERE"
onReady: ->
console.log "Connected"
console.log "Phono Session ID: " + @sessionId
onUnready: ->
console.log "Disconnected"
)
console.log "Connected? " + phono.connected()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment