[Pkg-javascript-commits] [node-leveldown] 203/492: minor style tweaks

Andrew Kelley andrewrk-guest at moszumanska.debian.org
Sun Jul 6 17:13:59 UTC 2014


This is an automated email from the git hooks/post-receive script.

andrewrk-guest pushed a commit to annotated tag rocksdb-0.10.1
in repository node-leveldown.

commit 26ef789e027dcc2b59c2d80e622b6c3e5dee1bfe
Author: Rod Vagg <rod at vagg.org>
Date:   Fri Feb 15 17:51:41 2013 +1100

    minor style tweaks
---
 lib/levelup.js | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/lib/levelup.js b/lib/levelup.js
index ac875cc..1244e21 100644
--- a/lib/levelup.js
+++ b/lib/levelup.js
@@ -360,23 +360,23 @@ var bridge       = require('bindings')('levelup.node')
 
       LevelUP.prototype.readStream = function (options) {
         options = extend(
-          extend({}, this._options)
+            extend({}, this._options)
           , typeof options == 'object' ? options : {}
         )
 
         return readStream.create(
-          options
+            options
           , this
           , function (options) {
-            return bridge.createIterator(this._db, options)
-          }.bind(this)
+              return bridge.createIterator(this._db, options)
+            }.bind(this)
         )
       }
 
       LevelUP.prototype.keyStream = function (options) {
         return this.readStream(
           extend(
-            options ? extend({}, options) : {}
+              options ? extend({}, options) : {}
             , { keys: true, values: false }
           )
         )
@@ -385,7 +385,7 @@ var bridge       = require('bindings')('levelup.node')
       LevelUP.prototype.valueStream = function (options) {
         return this.readStream(
           extend(
-            options ? extend({}, options) : {}
+              options ? extend({}, options) : {}
             , { keys: false, values: true }
           )
         )
@@ -393,7 +393,7 @@ var bridge       = require('bindings')('levelup.node')
 
       LevelUP.prototype.writeStream = function (options) {
         return writeStream.create(
-          options || {}
+            options || {}
           , this
         )
       }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-leveldown.git



More information about the Pkg-javascript-commits mailing list