Start removing search and lunr from core

This commit is contained in:
Samy Pessé
2015-10-05 15:55:39 +02:00
parent fa76029a17
commit 7f0e4803e2
11 changed files with 97 additions and 165 deletions
+9 -6
View File
@@ -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
};
});