Permalink
Browse files

Merge pull request #21 from alessioalex/master

Bug fix in FileStore
  • Loading branch information...
2 parents 302e031 + 6e08957 commit f7c0928487590fd614520b3b497a831838667aad @tj committed Nov 17, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/stores/FileStore.js
@@ -1,4 +1,3 @@
-
/**
* Module dependencies.
*/
@@ -67,8 +66,8 @@ FileStore.prototype.clear = function(fn){
*/
FileStore.prototype.stream = function(options){
- var emitter = options.emitter || new EventEmitter
- , options = options || {}
+ var options = options || {}
+ , emitter = options.emitter || new EventEmitter
, buf = options.buf || ''
, self = this
, substr

0 comments on commit f7c0928

Please sign in to comment.