diff --git a/Gruntfile.js b/Gruntfile.js
index 747f418a7..86220b39f 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -79,6 +79,8 @@ module.exports = function(grunt) {
concat: {
vendors: {
src: [
+ 'lib/mousetrap/mousetrap.min.js',
+ '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/peer.js',
@@ -90,7 +92,8 @@ module.exports = function(grunt) {
'lib/socket.io-client/socket.io.js',
'lib/sjcl.js',
'lib/ios-imagefile-megapixel/megapix-image.js',
- 'lib/qrcode-decoder-js/lib/qrcode-decoder.min.js'
+ 'lib/qrcode-decoder-js/lib/qrcode-decoder.min.js',
+ 'lib/zeroclipboard/ZeroClipboard.min.js'
],
dest: 'lib/vendors.js'
},
@@ -113,7 +116,9 @@ module.exports = function(grunt) {
'js/filters.js',
'js/routes.js',
'js/services/*.js',
- 'js/controllers/*.js'
+ 'js/controllers/*.js',
+ 'js/mobile.js', // PLACEHOLDER: CORDOVA SRIPT
+ 'js/init.js'
],
dest: 'js/copayMain.js'
}
@@ -136,7 +141,9 @@ module.exports = function(grunt) {
},
prod: {
files: {
- 'js/copayMain.js': ['js/copayMain.js']
+ 'js/copayMain.js': ['js/copayMain.js'],
+ 'lib/angularjs-all.js': ['lib/angularjs-all.js'],
+ 'lib/vendors.js': ['lib/vendors.js']
}
}
}
diff --git a/bower.json b/bower.json
index ce49fc3c1..2d0777456 100644
--- a/bower.json
+++ b/bower.json
@@ -21,7 +21,7 @@
"angular-moment": "~0.7.1",
"socket.io-client": ">=1.0.0",
"mousetrap": "1.4.6",
- "zeroclipboard": "~2.1.6",
+ "zeroclipboard": "~1.3.5",
"ng-idle": "*"
},
"resolutions": {
diff --git a/index.html b/index.html
index d4f2613f2..d3241cec2 100644
--- a/index.html
+++ b/index.html
@@ -53,21 +53,12 @@
-
-
-
-
-
-
-
-
-