Sha256: f53c63cc05c19e900261f50ab5d92241867585aff7118143531dfdf1c8447709
Contents?: true
Size: 343 Bytes
Versions: 29
Compression:
Stored size: 343 Bytes
Contents
var PusherBus = Class.extend({ init: function(config){ this.pusher = new Pusher(config.key); }, subscribe: function(subscription){ this.channel = this.pusher.subscribe(subscription.channel); this.channel.bind('publish', function(data){ subscription.callback(data); }) } }) PusherBus.third_party_library = 'Pusher'
Version data entries
29 entries across 29 versions & 1 rubygems