[Pkg-javascript-commits] [node-leveldown] 20/492: remove unused code

Andrew Kelley andrewrk-guest at moszumanska.debian.org
Sun Jul 6 17:13:40 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 66c377cd68a032d2074cfbbc62912e7570e327ee
Author: Rod Vagg <rod at vagg.org>
Date:   Fri Aug 17 16:47:01 2012 +1000

    remove unused code
---
 lib/levelup.js | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/lib/levelup.js b/lib/levelup.js
index a0d78e6..0d32443 100644
--- a/lib/levelup.js
+++ b/lib/levelup.js
@@ -226,15 +226,6 @@ var bridge       = require('bindings')('levelup.node')
         }
     }
 
-  , defineReadOnlyProperty = function (obj, key, value) {
-      Object.defineProperty(obj, key, {
-          value        : value
-        , writeable    : false
-        , enumerable   : true
-        , configurable : false
-      })
-    }
-
   , databaseCreator = new Creator('LevelUPDatabase')
       .setBase(EventEmitter)
       .setMethods(Database)

-- 
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