summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-core/src/lib/createContext.js
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-10-13 16:17:00 +0200
committerSamy Pesse <samypesse@gmail.com>2016-10-13 16:17:00 +0200
commit05646996c0ef2f1a474bd547153b8ef87f89ac6e (patch)
treeb76ed08d1ae1410334bb0f0c7131b1ab2d9abdfe /packages/gitbook-core/src/lib/createContext.js
parentc439cf851380da27ebaa0edce5fff99f8fb93d65 (diff)
downloadgitbook-05646996c0ef2f1a474bd547153b8ef87f89ac6e.zip
gitbook-05646996c0ef2f1a474bd547153b8ef87f89ac6e.tar.gz
gitbook-05646996c0ef2f1a474bd547153b8ef87f89ac6e.tar.bz2
Rename "navigation" to "history" and add loading bar
Diffstat (limited to 'packages/gitbook-core/src/lib/createContext.js')
-rw-r--r--packages/gitbook-core/src/lib/createContext.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/gitbook-core/src/lib/createContext.js b/packages/gitbook-core/src/lib/createContext.js
index 87593e3..ba0c7e1 100644
--- a/packages/gitbook-core/src/lib/createContext.js
+++ b/packages/gitbook-core/src/lib/createContext.js
@@ -9,7 +9,7 @@ const composeReducer = require('./composeReducer');
const Components = require('../actions/components');
const I18n = require('../actions/i18n');
-const Navigation = require('../actions/navigation');
+const History = require('../actions/history');
const isBrowser = (typeof window !== 'undefined');
@@ -21,7 +21,7 @@ const isBrowser = (typeof window !== 'undefined');
const corePlugin = new Plugin({
reduce: coreReducers,
actions: {
- Components, I18n, Navigation
+ Components, I18n, History
}
});