summaryrefslogtreecommitdiffstats
path: root/theme/javascript/core/navigation.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-10-05 15:55:39 +0200
committerSamy Pessé <samypesse@gmail.com>2015-10-05 15:55:39 +0200
commit7f0e4803e266e11ef3aedc041c63b99cd2cce7e2 (patch)
tree22d70a8389336ecd4231f7e84efdf265a2eb7230 /theme/javascript/core/navigation.js
parentfa76029a1789d23f80d8eaac2fc7b872440fd75e (diff)
downloadgitbook-7f0e4803e266e11ef3aedc041c63b99cd2cce7e2.zip
gitbook-7f0e4803e266e11ef3aedc041c63b99cd2cce7e2.tar.gz
gitbook-7f0e4803e266e11ef3aedc041c63b99cd2cce7e2.tar.bz2
Start removing search and lunr from core
Diffstat (limited to 'theme/javascript/core/navigation.js')
-rwxr-xr-xtheme/javascript/core/navigation.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/theme/javascript/core/navigation.js b/theme/javascript/core/navigation.js
index c1766ab..060eb7a 100755
--- a/theme/javascript/core/navigation.js
+++ b/theme/javascript/core/navigation.js
@@ -4,9 +4,8 @@ define([
"core/events",
"core/state",
"core/progress",
- "core/loading",
- "core/search"
-], function($, URL, events, state, progress, loading, search) {
+ "core/loading"
+], function($, URL, events, state, progress, loading) {
var prev, next;
var usePushState = (typeof history.pushState !== "undefined");
@@ -67,7 +66,6 @@ define([
// Update state
state.update($("html"));
// recover search keyword
- search.recover();
preparePage();
})
.fail(function (e) {