You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
Whitespace and other JSHint changes.
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
var to_array = require("./to_array");
|
||||
|
||||
// Queue class adapted from Tim Caswell's pattern library
|
||||
// http://github.com/creationix/pattern/blob/master/lib/pattern/queue.js
|
||||
|
||||
@@ -49,13 +47,13 @@ Queue.prototype.getLength = function () {
|
||||
return this.head.length - this.offset + this.tail.length;
|
||||
};
|
||||
|
||||
Object.defineProperty(Queue.prototype, 'length', {
|
||||
Object.defineProperty(Queue.prototype, "length", {
|
||||
get: function () {
|
||||
return this.getLength();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
if(typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = Queue;
|
||||
if (typeof module !== "undefined" && module.exports) {
|
||||
module.exports = Queue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user