Remove unecessary console.log in lunr-en.js and lunr-gr.js JavaScript

Close #2193
This commit is contained in:
Michael Rose 2019-06-27 19:05:01 -04:00
parent b5b8c45530
commit dc99092c54
5 changed files with 3 additions and 5 deletions

View file

@ -2,6 +2,7 @@
### Enhancements ### Enhancements
- Remove unecessary console.log in `lunr-en.js` and `lunr-gr.js` JavaScript. [#2193](https://github.com/mmistakes/minimal-mistakes/issues/2193)
- Remove unecessary `type="text/javascript"` from Google Analytics JavaScript. [#2190](https://github.com/mmistakes/minimal-mistakes/pull/2190) - Remove unecessary `type="text/javascript"` from Google Analytics JavaScript. [#2190](https://github.com/mmistakes/minimal-mistakes/pull/2190)
- Update links and fix typos in documentation. [#2186](https://github.com/mmistakes/minimal-mistakes/pull/2186) - Update links and fix typos in documentation. [#2186](https://github.com/mmistakes/minimal-mistakes/pull/2186)
- Add skip links. [#2182](https://github.com/mmistakes/minimal-mistakes/issues/2182) - Add skip links. [#2182](https://github.com/mmistakes/minimal-mistakes/issues/2182)

View file

@ -22,8 +22,6 @@ var idx = lunr(function () {
} }
}); });
console.log( jQuery.type(idx) );
$(document).ready(function() { $(document).ready(function() {
$('input#search').on('keyup', function () { $('input#search').on('keyup', function () {
var resultdiv = $('#results'); var resultdiv = $('#results');

View file

@ -475,8 +475,6 @@ var idx = lunr(function () {
} }
}); });
console.log( jQuery.type(idx) );
$(document).ready(function() { $(document).ready(function() {
$('input#search').on('keyup', function () { $('input#search').on('keyup', function () {
var resultdiv = $('#results'); var resultdiv = $('#results');

View file

@ -13,6 +13,7 @@ toc: false
### Enhancements ### Enhancements
- Remove unecessary console.log in `lunr-en.js` and `lunr-gr.js` JavaScript. [#2193](https://github.com/mmistakes/minimal-mistakes/issues/2193)
- Remove unecessary `type="text/javascript"` from Google Analytics JavaScript. [#2190](https://github.com/mmistakes/minimal-mistakes/pull/2190) - Remove unecessary `type="text/javascript"` from Google Analytics JavaScript. [#2190](https://github.com/mmistakes/minimal-mistakes/pull/2190)
- Update links and fix typos in documentation. [#2186](https://github.com/mmistakes/minimal-mistakes/pull/2186) - Update links and fix typos in documentation. [#2186](https://github.com/mmistakes/minimal-mistakes/pull/2186)
- Add skip links. [#2182](https://github.com/mmistakes/minimal-mistakes/issues/2182) - Add skip links. [#2182](https://github.com/mmistakes/minimal-mistakes/issues/2182)

View file

@ -57,7 +57,7 @@ atom_feed:
path : # blank (default) uses feed.xml path : # blank (default) uses feed.xml
search : true # true, false (default) search : true # true, false (default)
search_full_content : true # true, false (default) search_full_content : true # true, false (default)
search_provider : "algolia" search_provider : "lunr"
algolia: algolia:
application_id : "QB6HVGBSBA" application_id : "QB6HVGBSBA"
index_name : "dev_minimal-mistakes" index_name : "dev_minimal-mistakes"