maccman/juggernaut — Issue #116: Naming the callback is not working
Author: aiionx
Created: 2011-12-28 20:50:54+00:00
State: open

if I do:

jugChat.subscribe('myChannel', function(data){
alert('success');
});

It works, but if I do:

jugChat.subscribe('myChannel', subscription);

var subscription=function(data){
alert(''success);
}

It is not working.