Created
April 19, 2012 03:03
-
-
Save lfcipriani/2418097 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function onPresence(prs) { | |
| // in this case, presence got from the XMPP server means to activate UI and allow user to enter the 2 terms to compare | |
| console.log("Got presence!"); | |
| anonymous_jid = $(prs).attr('to'); | |
| // ... outras coisas | |
| return true; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment