From 6208b76afa4537f54788d49bedd539c300b5d795 Mon Sep 17 00:00:00 2001 From: Martin Staffa Date: Thu, 24 Sep 2015 21:00:11 +0200 Subject: [PATCH] chore(docs): update to lunr-0.5.12 This improves the search results for certain terms. For example, previously guide/scope was unfindable with the search term 'scope', now it's the first hit. Closes #12937 --- docs/app/assets/js/search-worker.js | 2 +- docs/bower.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/app/assets/js/search-worker.js b/docs/app/assets/js/search-worker.js index 6c3c96dd54b9..318461ade8ad 100644 --- a/docs/app/assets/js/search-worker.js +++ b/docs/app/assets/js/search-worker.js @@ -3,7 +3,7 @@ /* global importScripts, onmessage: true, postMessage, lunr */ // Load up the lunr library -importScripts('../components/lunr.js-0.4.2/lunr.min.js'); +importScripts('../components/lunr.js-0.5.12/lunr.min.js'); // Create the lunr index - the docs should be an array of object, each object containing // the path and search terms for a page diff --git a/docs/bower.json b/docs/bower.json index db88bffd5733..d5a6a99b1e71 100644 --- a/docs/bower.json +++ b/docs/bower.json @@ -2,7 +2,7 @@ "name": "AngularJS-docs-app", "dependencies": { "jquery": "2.1.1", - "lunr.js": "0.4.3", + "lunr.js": "0.5.12", "open-sans-fontface": "1.0.4", "google-code-prettify": "1.0.1", "bootstrap": "3.1.1"