mirror of https://github.com/BTCPrivate/copay.git
Add underscore to bower and karma conf
This commit is contained in:
parent
a0c7d2cb66
commit
e2df438485
|
@ -83,6 +83,7 @@ module.exports = function(grunt) {
|
|||
'js/shell.js', // shell must be loaded before moment due to the way moment loads in a commonjs env
|
||||
'lib/moment/min/moment.min.js',
|
||||
'lib/qrcode-generator/js/qrcode.js',
|
||||
'lib/underscore/underscore.js',
|
||||
'lib/bitcore.js',
|
||||
'lib/crypto-js/rollups/sha256.js',
|
||||
'lib/crypto-js/rollups/pbkdf2.js',
|
||||
|
|
|
@ -21,7 +21,8 @@
|
|||
"socket.io-client": ">=1.0.0",
|
||||
"mousetrap": "1.4.6",
|
||||
"zeroclipboard": "~1.3.5",
|
||||
"ng-idle": "*"
|
||||
"ng-idle": "*",
|
||||
"underscore": "~1.7.0"
|
||||
},
|
||||
"resolutions": {
|
||||
"angular": "=1.2.19"
|
||||
|
|
|
@ -29,6 +29,7 @@ module.exports = function(config) {
|
|||
'lib/angular-foundation/mm-foundation.min.js',
|
||||
'lib/angular-foundation/mm-foundation-tpls.min.js',
|
||||
'lib/bitcore.js',
|
||||
'lib/underscore/underscore.js',
|
||||
'lib/crypto-js/rollups/sha256.js',
|
||||
'lib/crypto-js/rollups/pbkdf2.js',
|
||||
'lib/crypto-js/rollups/aes.js',
|
||||
|
|
|
@ -17,7 +17,8 @@
|
|||
"optimist": "^0.6.1",
|
||||
"preconditions": "^1.0.7",
|
||||
"request": "^2.40.0",
|
||||
"sinon": "1.9.1"
|
||||
"sinon": "1.9.1",
|
||||
"underscore": "^1.7.0"
|
||||
},
|
||||
"scripts": {
|
||||
"shell": "node shell/scripts/launch.js",
|
||||
|
|
|
@ -43,6 +43,9 @@ var createBundle = function(opts) {
|
|||
b.require('browser-request', {
|
||||
expose: 'request'
|
||||
});
|
||||
b.require('underscore', {
|
||||
expose: 'underscore'
|
||||
});
|
||||
|
||||
b.require('./copay', {
|
||||
expose: 'copay'
|
||||
|
|
Loading…
Reference in New Issue