[Pkg-javascript-commits] [node-ripemd160] 05/71: update main
Bastien Roucariès
rouca at moszumanska.debian.org
Thu May 4 10:25:37 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-ripemd160.
commit 153ec9b3b7d8d8ef38b02742cfadf202ae592606
Author: JP Richardson <jprichardson at gmail.com>
Date: Wed Nov 6 22:34:55 2013 -0600
update main
---
bower.json | 2 +-
component.json | 4 ++--
lib/ripemd160.js | 4 +++-
package.json | 2 +-
4 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/bower.json b/bower.json
index 180f62f..0a2d779 100644
--- a/bower.json
+++ b/bower.json
@@ -22,5 +22,5 @@
"cryptocoin-convert-string": "0.0.x"
},
"repo": "https://github.com/cryptocoinjs/ripemd160",
- "main": "lib/ripemd160.js"
+ "main": "./lib/ripemd160.js"
}
\ No newline at end of file
diff --git a/component.json b/component.json
index 0720385..59d2708 100644
--- a/component.json
+++ b/component.json
@@ -12,9 +12,9 @@
],
"repo": "cryptocoinjs/ripemd160",
"scripts": [
- "lib/ripemd160.js"
+ "./lib/ripemd160.js"
],
- "main": "lib/ripemd160.js",
+ "main": "./lib/ripemd160.js",
"dependencies": {
"cryptocoinjs/convert-hex": "0.0.x",
"cryptocoinjs/convert-string": "0.0.x"
diff --git a/lib/ripemd160.js b/lib/ripemd160.js
index 20e7fab..dff622b 100644
--- a/lib/ripemd160.js
+++ b/lib/ripemd160.js
@@ -5,7 +5,8 @@ var _imports = {}
//*** UMD BEGIN
if (typeof define !== 'undefined' && define.amd) { //require.js / AMD
- define(['cryptocoin-convert-hex', 'cryptocoin-convert-strings'], function(convertHex) {
+ define(['cryptocoin-convert-hex', 'cryptocoin-convert-string'], function(convertHex, convertString) {
+ _imports.convertString = convertString
_imports.bytesToHex = convertHex.bytesToHex
return ripemd160
})
@@ -19,6 +20,7 @@ if (typeof define !== 'undefined' && define.amd) { //require.js / AMD
}
module.exports = ripemd160
} else {
+ _imports.convertString = globals.convertString
_imports.bytesToHex = globals.convertHex.bytesToHex
globals.ripemd160 = ripemd160
}
diff --git a/package.json b/package.json
index 853cdeb..b8e3fb0 100644
--- a/package.json
+++ b/package.json
@@ -17,7 +17,7 @@
"url": "https://github.com/cryptocoinjs/ripemd160",
"type": "git"
},
- "main": "lib/ripemd160.js",
+ "main": "./lib/ripemd160.js",
"dependencies": {
"cryptocoin-convert-hex": "0.0.1",
"cryptocoin-convert-string": "0.0.1"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-ripemd160.git
More information about the Pkg-javascript-commits
mailing list