Skip to content

Commit

Permalink
Remove some unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
gkubisa committed Nov 5, 2018
1 parent a28b7a3 commit 065ed9d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/client/doc.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,6 @@ Doc.prototype.ingestSnapshot = function(snapshot, callback) {
};

Doc.prototype.whenNothingPending = function(callback) {
if (this.hasPending()) {
this.once('nothing pending', callback);
return;
}
var doc = this;
process.nextTick(function() {
if (doc.hasPending()) {
Expand Down

0 comments on commit 065ed9d

Please sign in to comment.