From 0efbf28f1adaaa17afa555b368acfb462c639ca8 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Tue, 16 Feb 2016 12:33:39 -0500 Subject: [PATCH] Generate CSV using a new plugin --- Gruntfile.js | 2 ++ bower.json | 4 +-- public/views/preferencesHistory.html | 6 ++-- public/views/walletHome.html | 2 +- src/js/app.js | 2 ++ src/js/controllers/index.js | 46 +++++++++++++++------------- 6 files changed, 34 insertions(+), 28 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 145003bee..f08be00c4 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -59,6 +59,8 @@ module.exports = function(grunt) { 'bower_components/angular-gettext/dist/angular-gettext.js', 'bower_components/angular-touch/angular-touch.js', 'bower_components/angular-ui-switch/angular-ui-switch.js', + 'bower_components/angular-sanitize/angular-sanitize.js', + 'bower_components/ng-csv/build/ng-csv.js', 'angular-bitcore-wallet-client/angular-bitcore-wallet-client.js' ], dest: 'public/lib/angular.js' diff --git a/bower.json b/bower.json index 88cd4e206..02e83cbf4 100644 --- a/bower.json +++ b/bower.json @@ -22,7 +22,7 @@ "moment": "2.10.3", "ng-lodash": "0.2.3", "qrcode-decoder-js": "*", - "trezor-connect": "~1.0.1" + "trezor-connect": "~1.0.1", + "ng-csv": "~0.3.6" } } - diff --git a/public/views/preferencesHistory.html b/public/views/preferencesHistory.html index 5e93b65c9..5708d87f9 100644 --- a/public/views/preferencesHistory.html +++ b/public/views/preferencesHistory.html @@ -7,9 +7,9 @@