Skip to content

Commit

Permalink
chore(docs): update to lunr-0.5.12
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Narretz committed Sep 25, 2015
1 parent 70dac5a commit 6208b76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/app/assets/js/search-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 6208b76

Please sign in to comment.