Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (16 sloc) 0.468 kb
<html>
<body>
<h1>NodeCasts.org - Realtime pubsub with Faye</h1>
<div id="messages"></div>
<script src="/jquery-1.3.2.min.js"></script>
<script src="/faye.js"></script>
<script type="text/javascript">
var client = new Faye.Client('/faye', {
timeout: 120
});
client.subscribe('/channel', function(message) {
$("#messages").append("<p>" + message.text + "</p>");
});
</script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.