mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-17 08:05:19 +00:00
Start removing search and lunr from core
This commit is contained in:
@@ -9,18 +9,14 @@ define([
|
||||
'core/navigation',
|
||||
'core/progress',
|
||||
'core/sidebar',
|
||||
'core/search',
|
||||
|
||||
'apis/toolbar'
|
||||
], function($, storage, dropdown, events, state,
|
||||
keyboard, navigation, progress, sidebar, search, toolbar){
|
||||
keyboard, navigation, progress, sidebar, toolbar){
|
||||
var start = function(config) {
|
||||
// Init sidebar
|
||||
sidebar.init();
|
||||
|
||||
// Load search
|
||||
search.init();
|
||||
|
||||
// Init keyboard
|
||||
keyboard.init();
|
||||
|
||||
@@ -39,7 +35,14 @@ keyboard, navigation, progress, sidebar, search, toolbar){
|
||||
events: events,
|
||||
state: state,
|
||||
|
||||
// UI sections
|
||||
toolbar: toolbar,
|
||||
storage: storage
|
||||
sidebar: sidebar,
|
||||
|
||||
// Read/Write the localstorage
|
||||
storage: storage,
|
||||
|
||||
// Create keyboard shortcuts
|
||||
keyboard: keyboard
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user