[Pkg-javascript-commits] [node-diffie-hellman] 52/88: move dh/gen/primes to lib

Bastien Roucariès rouca at moszumanska.debian.org
Thu May 4 10:19:16 UTC 2017


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

rouca pushed a commit to branch master
in repository node-diffie-hellman.

commit fd3de9bf77072c113a832e794bfb6af0bb62ba23
Author: Daniel Cousens <github at dcousens.com>
Date:   Wed Jan 28 00:07:55 2015 +1100

    move dh/gen/primes to lib
---
 browser.js                               | 6 +++---
 dh.js => lib/dh.js                       | 0
 generatePrime.js => lib/generatePrime.js | 0
 primes.json => lib/primes.json           | 0
 4 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/browser.js b/browser.js
index e7c23a8..ba0d903 100644
--- a/browser.js
+++ b/browser.js
@@ -1,7 +1,7 @@
-var generatePrime = require('./generatePrime');
-var primes = require('./primes.json');
+var generatePrime = require('./lib/generatePrime');
+var primes = require('./lib/primes');
 
-var DH = require('./dh');
+var DH = require('./lib/dh');
 
 function getDiffieHellman(mod) {
   var prime = new Buffer(primes[mod].prime, 'hex');
diff --git a/dh.js b/lib/dh.js
similarity index 100%
rename from dh.js
rename to lib/dh.js
diff --git a/generatePrime.js b/lib/generatePrime.js
similarity index 100%
rename from generatePrime.js
rename to lib/generatePrime.js
diff --git a/primes.json b/lib/primes.json
similarity index 100%
rename from primes.json
rename to lib/primes.json

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



More information about the Pkg-javascript-commits mailing list