Skip to content

Commit

Permalink
v2.3.18
Browse files Browse the repository at this point in the history
  • Loading branch information
jondubois committed Nov 1, 2015
1 parent 98debbd commit c887d38
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ module.exports.connect = function (options) {
return new SCSocket(options);
};

module.exports.version = '2.3.17';
module.exports.version = '2.3.18';
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "socketcluster-client",
"description": "SocketCluster JavaScript client",
"version": "2.3.17",
"version": "2.3.18",
"homepage": "http://socketcluster.io",
"contributors": [
{
Expand Down
5 changes: 4 additions & 1 deletion socketcluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports.connect = function (options) {
return new SCSocket(options);
};

module.exports.version = '2.3.17';
module.exports.version = '2.3.18';

},{"./lib/scsocket":5,"sc-emitter":11}],2:[function(require,module,exports){
(function (global){
Expand Down Expand Up @@ -877,6 +877,9 @@ SCSocket.prototype.processPendingSubscriptions = function () {
};

SCSocket.prototype.watch = function (channelName, handler) {
if (typeof handler != 'function') {
throw new Error('No handler function was provided');
}
this._channelEmitter.on(channelName, handler);
};

Expand Down
4 changes: 2 additions & 2 deletions socketcluster.min.js

Large diffs are not rendered by default.

0 comments on commit c887d38

Please sign in to comment.