Skip to content

Commit

Permalink
Update webshell-node.js
Browse files Browse the repository at this point in the history
fix def wsh error event
  • Loading branch information
bumpmann committed May 16, 2013
1 parent cf2819f commit c3c3805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/webshell-node.js
Expand Up @@ -10,6 +10,7 @@ function Webshell() {
this._secretKey = '';
this._csid = '';
this._domain = '';
this.on('error', function() {});
}

var callnb = 1;
Expand All @@ -28,7 +29,6 @@ Webshell.prototype.init = function(options) {
this._secretKey = options.secret || this._secretKey;
this._csid = options.csid || this._csid;
this._domain = options.domain || this._domain;
this.on('error', function() {});
return this;
}

Expand Down

0 comments on commit c3c3805

Please sign in to comment.