From 855394a6a61d3168c04448bc80bd44c0426ac0e3 Mon Sep 17 00:00:00 2001 From: Andrew Abogado Date: Mon, 9 Feb 2015 02:00:48 +0800 Subject: [PATCH] AA: Set Grunt to not minify HTML and include Bootstrap JS on distribution build --- src/main/webapp/static/Gruntfile.js | 7 +- src/main/webapp/static/app/index.html | 1 + src/main/webapp/static/app/owner_details.html | 7 +- src/main/webapp/static/dist/dashboard.html | 302 ++++++- src/main/webapp/static/dist/discover.html | 235 +++++- src/main/webapp/static/dist/index.html | 323 +++++++- .../webapp/static/dist/owner_details.html | 741 +++++++++++++++++- src/main/webapp/static/dist/scripts/vendor.js | 5 +- src/main/webapp/static/dist/show.html | 204 ++++- 9 files changed, 1799 insertions(+), 26 deletions(-) diff --git a/src/main/webapp/static/Gruntfile.js b/src/main/webapp/static/Gruntfile.js index c619361a0..d56dfe1bd 100644 --- a/src/main/webapp/static/Gruntfile.js +++ b/src/main/webapp/static/Gruntfile.js @@ -198,10 +198,7 @@ module.exports = function(grunt) { wiredep: { app: { ignorePath: /^\/|\.\.\//, - src: ['<%= config.app %>/index.html'], - exclude: [ - 'bower_components/bootstrap-sass-official/assets/javascripts/bootstrap.js' - ] + src: ['<%= config.app %>/index.html'] }, sass: { src: ['<%= config.app %>/styles/{,*/}*.{scss,sass}'], @@ -442,7 +439,7 @@ module.exports = function(grunt) { // 'rev', 'usemin', // For Development - Prevent minification - 'htmlmin' + // 'htmlmin' ]); grunt.registerTask('default', [ diff --git a/src/main/webapp/static/app/index.html b/src/main/webapp/static/app/index.html index 16f0d7955..7471b6a28 100644 --- a/src/main/webapp/static/app/index.html +++ b/src/main/webapp/static/app/index.html @@ -316,6 +316,7 @@ + diff --git a/src/main/webapp/static/app/owner_details.html b/src/main/webapp/static/app/owner_details.html index b3b6b71db..ce4324440 100644 --- a/src/main/webapp/static/app/owner_details.html +++ b/src/main/webapp/static/app/owner_details.html @@ -49,7 +49,7 @@