[Pkg-javascript-commits] [node-keygrip] 07/68: removed unnecessary require

Andrew Kelley andrewrk-guest at moszumanska.debian.org
Fri Jun 27 22:13:23 UTC 2014


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

andrewrk-guest pushed a commit to branch master
in repository node-keygrip.

commit a2a747b184a24edc621c4bc7fde04781328bcbb8
Author: Jed Schmidt <tr at nslator.jp>
Date:   Fri Feb 25 16:33:43 2011 +0900

    removed unnecessary require
---
 README.md | 3 +--
 test.js   | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index 8725997..05ce764 100644
--- a/README.md
+++ b/README.md
@@ -16,8 +16,7 @@ keygrip is a [node.js](http://nodejs.org/) module for signing and verifying data
     // ./test.js
     var assert = require( "assert" )
       , keygrip = require( "keygrip" )
-      , keylist = require( "keygrip/lib/defaultKeys" )
-      , keys, hash, index
+      , keylist, keys, hash, index
     
     // keygrip takes an array of keys, but if none exist,
     // it uses the defaults created during npm installation.
diff --git a/test.js b/test.js
index f82b00f..c9f92f5 100644
--- a/test.js
+++ b/test.js
@@ -1,8 +1,7 @@
 // ./test.js
 var assert = require( "assert" )
   , keygrip = require( "keygrip" )
-  , keylist = require( "keygrip/lib/defaultKeys" )
-  , keys, hash, index
+  , keylist, keys, hash, index
 
 // keygrip takes an array of keys, but if none exist,
 // it uses the defaults created during npm installation.

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



More information about the Pkg-javascript-commits mailing list