Skip to content

Commit 065ed9d

Browse files
committed
Remove some unnecessary code
1 parent a28b7a3 commit 065ed9d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/client/doc.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,6 @@ Doc.prototype.ingestSnapshot = function(snapshot, callback) {
204204
};
205205

206206
Doc.prototype.whenNothingPending = function(callback) {
207-
if (this.hasPending()) {
208-
this.once('nothing pending', callback);
209-
return;
210-
}
211207
var doc = this;
212208
process.nextTick(function() {
213209
if (doc.hasPending()) {

0 commit comments

Comments
 (0)