Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Argh minor error

  • Loading branch information...
commit 1607c69dff99af434d3cc92e86302e9e59f119bb 1 parent 4b48029
@chriso authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.md
View
2  README.md
@@ -52,7 +52,7 @@ redback.addStructure('Queue', {
this.client.lpush(this.key, value, callback);
},
next: function (callback) {
- var method = this.fifo ? 'lpop' : 'rpop';
+ var method = this.fifo ? 'rpop' : 'lpop';
this.client[method](this.key, callback);
}
});
Please sign in to comment.
Something went wrong with that request. Please try again.