From 3de4f23ea210dd964748528503444bbaeed860ce Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 19 Sep 2013 17:41:14 +0300 Subject: [PATCH] Minify docs-assets too. --- .gitignore | 1 + Gruntfile.js | 10 ++++++++++ _includes/footer.html | 6 +----- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 465cdb4633..60bfe60fe5 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,4 @@ validation-report.json # Folders to ignore node_modules bower_components +/docs-assets/js/customize.js diff --git a/Gruntfile.js b/Gruntfile.js index 77477596d8..c60e600ab8 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -72,6 +72,16 @@ module.exports = function(grunt) { bootstrap: { src: ['<%= concat.bootstrap.dest %>'], dest: 'dist/js/<%= pkg.name %>.min.js' + }, + customize: { + src: [ + 'docs-assets/js/less.js', + 'docs-assets/js/jszip.js', + 'docs-assets/js/uglify.js', + 'docs-assets/js/filesaver.js', + 'docs-assets/js/customizer.js' + ], + dest: 'docs-assets/js/customize.js' } }, diff --git a/_includes/footer.html b/_includes/footer.html index 56518ac49f..1188e10cf8 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -9,12 +9,8 @@ {% if page.slug == "customize" %} - - - - - + {% endif %} {% comment %}