Skip to content

Commit

Permalink
Fix style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
argon committed May 1, 2016
1 parent a7f1e30 commit 9e36236
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/protocol/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ Connection.prototype._removePrioritisedStream = function _removePrioritisedStrea
if (bucket.length === 0) {
delete this._streamPriorities[stream._priority];
}
}
};

// Creating an *inbound* stream with the given ID. It is called when there's an incoming frame to
// a previously nonexistent stream.
Expand All @@ -238,7 +238,6 @@ Connection.prototype._createIncomingStream = function _createIncomingStream(id)
this._allocatePriority(stream);
this.emit('stream', stream, id);


return stream;
};

Expand All @@ -260,7 +259,7 @@ Connection.prototype._removeStream = function _removeStream(stream) {

delete this._streamIds[stream.id];
this._removePrioritisedStream(stream);
}
};

// Multiplexing
// ------------
Expand Down

0 comments on commit 9e36236

Please sign in to comment.