Include rusha via npm

This commit is contained in:
Tankred Hase 2016-02-04 10:05:19 +07:00
parent cfe058596f
commit b8f353abe8
2 changed files with 7 additions and 7 deletions

View File

@ -32,7 +32,9 @@
"test": "grunt test" "test": "grunt test"
}, },
"devDependencies": { "devDependencies": {
"asmcrypto": "git://github.com/openpgpjs/asmcrypto.js.git#openpgp_build",
"chai": "~3.4.1", "chai": "~3.4.1",
"es6-promise": "^1.0.0",
"grunt": "~0.4.5", "grunt": "~0.4.5",
"grunt-browserify": "~4.0.1", "grunt-browserify": "~4.0.1",
"grunt-contrib-clean": "~0.7.0", "grunt-contrib-clean": "~0.7.0",
@ -49,14 +51,13 @@
"grunt-text-replace": "~0.4.0", "grunt-text-replace": "~0.4.0",
"istanbul": "~0.4.1", "istanbul": "~0.4.1",
"mocha": "~2.3.4", "mocha": "~2.3.4",
"whatwg-fetch": "~0.11.0" "rusha": "^0.8.3",
"whatwg-fetch": "~0.11.0",
"zlibjs": "~0.2.0"
}, },
"dependencies": { "dependencies": {
"asmcrypto": "git://github.com/openpgpjs/asmcrypto.js.git#openpgp_build",
"es6-promise": "^1.0.0",
"node-fetch": "^1.3.3", "node-fetch": "^1.3.3",
"node-localstorage": "~1.1.2", "node-localstorage": "~1.1.2"
"zlibjs": "~0.2.0"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -1,13 +1,12 @@
/** /**
* @requires crypto/hash/sha * @requires crypto/hash/sha
* @requires crypto/hash/rusha
* @requires util * @requires util
* @requires config * @requires config
* @module crypto/hash * @module crypto/hash
*/ */
var sha = require('./sha.js'), var sha = require('./sha.js'),
asmCrypto = require('asmcrypto'), asmCrypto = require('asmcrypto'),
rusha = require('./rusha.js'), rusha = require('rusha'),
config = require('../../config'), config = require('../../config'),
util = require('../../util.js'); util = require('../../util.js');