Permalink
Browse files

bump version

  • Loading branch information...
1 parent 2fbe709 commit c0757d72c0aee1d6b93508f4838276a86ce5ee94 @maccman committed Jan 3, 2012
Showing with 3,352 additions and 7 deletions.
  1. +5 −5 client.js
  2. +1 −1 package.json
  3. +3,346 −1 public/application.js
View
@@ -3206,10 +3206,10 @@
var Juggernaut = function(options){
this.options = options || {};
-
+
this.options.host = this.options.host || window.location.hostname;
this.options.port = this.options.port || 8080;
-
+
this.handlers = {};
this.meta = this.options.meta;
@@ -3273,9 +3273,9 @@ Juggernaut.fn.subscribe = function(channel, callback){
Juggernaut.fn.unsubscribe = function(channel) {
if ( !channel ) throw "Must provide a channel";
-
+
this.unbind(channel + ":data");
-
+
var message = new Juggernaut.Message;
message.type = "unsubscribe";
message.channel = channel;
@@ -3288,7 +3288,7 @@ Juggernaut.fn.unsubscribe = function(channel) {
Juggernaut.fn.trigger = function(){
var args = [];
for (var f=0; f < arguments.length; f++) args.push(arguments[f]);
-
+
var name = args.shift();
var callbacks = this.handlers[name];
View
@@ -1,6 +1,6 @@
{ "name" : "juggernaut"
, "description" : "Realtime PubSub server push."
-, "version" : "2.1.0"
+, "version" : "2.1.1"
, "author" : "maccman"
, "licenses" :
[ { "type" : "MIT"
Oops, something went wrong.

0 comments on commit c0757d7

Please sign in to comment.