1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

remove double 'util' and 'Queue' from requires

ex: require('./lib/util').util;
This commit is contained in:
Zachary Scott
2011-11-15 09:23:42 -05:00
committed by Matt Ranney
parent 336030a33d
commit c83c285213
6 changed files with 11 additions and 8 deletions

View File

@@ -55,4 +55,7 @@ Object.defineProperty(Queue.prototype, 'length', {
}
});
exports.Queue = Queue;
if(typeof module !== 'undefined' && module.exports) {
module.exports = Queue;
}