Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

make the README more clear

  • Loading branch information...
commit bd954e3b41f0037f5d24e55b017e0d3efff83311 1 parent f18e5d4
@maccman maccman authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  README
View
2  README
@@ -93,6 +93,7 @@ Make sure they all connect to the same Redis instance. Use sticky sessions.
## Usage case - Group Chat
+<script src="http://localhost:8080/application.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
var jug = new Juggernaut;
jug.subscribe("/chats", function(data){
@@ -106,6 +107,7 @@ Juggernaut.publish("/chats", params[:body])
## Usage case - Private Chat
+<script src="http://localhost:8080/application.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
var jug = new Juggernaut;
jug.subscribe("/chats/<%= current_user.id %>", function(data){
Please sign in to comment.
Something went wrong with that request. Please try again.