Created
April 19, 2012 03:03
-
-
Save lfcipriani/2418099 to your computer and use it in GitHub Desktop.
This file contains 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 startComparison() { | |
// creates 2 search subscriptions and send the request to Collecta XMPP API via Strophejs | |
console.log("Subscribing to nodes: "+ terms[0] +" and "+ terms[1]); | |
connection.send(Collecta.subscribeSearchStanza(terms[0]).tree()); | |
connection.send(Collecta.subscribeSearchStanza(terms[1]).tree()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment