From 46537635b090fa98ed5be19d0e4cdea6253900a5 Mon Sep 17 00:00:00 2001 From: Kevin Ross Date: Wed, 23 Dec 2015 17:59:39 -0600 Subject: [PATCH] fix search.json and unmangle the minified file to see if we can get through the github pages problem. --- Gruntfile.js | 2 +- docs/_includes/footer.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 1cb35327..4e2cb7ae 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -258,7 +258,7 @@ module.exports = function (grunt) { compress: { warnings: true }, - mangle: true, + mangle: false, preserveComments: /^!|@preserve|@license|@cc_on/i }, core: { diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html index 5a37e076..57edfad0 100644 --- a/docs/_includes/footer.html +++ b/docs/_includes/footer.html @@ -47,7 +47,7 @@ SimpleJekyllSearch.init({ resultsContainer: document.getElementById('search-results'), searchResultTemplate: '{title}', noResultsText: '', - json: '/search.json' + json: '{{ site.baseurl }}/search.json' }) {% endif %}