Created
March 2, 2013 10:10
-
-
Save anand9/5070382 to your computer and use it in GitHub Desktop.
The faye client which sends messages,
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
<script type="text/javascript"> | |
var client = new Faye.Client('http://localhost:9292/faye'); | |
var message = client.publish('/foo', {text: message ,id: id, :number: number }); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment