Skip to content

Commit 6208b76

Browse files
committed
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 angular#12937
1 parent 70dac5a commit 6208b76

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/app/assets/js/search-worker.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/* global importScripts, onmessage: true, postMessage, lunr */
44

55
// Load up the lunr library
6-
importScripts('../components/lunr.js-0.4.2/lunr.min.js');
6+
importScripts('../components/lunr.js-0.5.12/lunr.min.js');
77

88
// Create the lunr index - the docs should be an array of object, each object containing
99
// the path and search terms for a page

docs/bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "AngularJS-docs-app",
33
"dependencies": {
44
"jquery": "2.1.1",
5-
"lunr.js": "0.4.3",
5+
"lunr.js": "0.5.12",
66
"open-sans-fontface": "1.0.4",
77
"google-code-prettify": "1.0.1",
88
"bootstrap": "3.1.1"

0 commit comments

Comments
 (0)