diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-10-13 16:17:00 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-10-13 16:17:00 +0200 |
commit | 05646996c0ef2f1a474bd547153b8ef87f89ac6e (patch) | |
tree | b76ed08d1ae1410334bb0f0c7131b1ab2d9abdfe /packages/gitbook-core/src/lib/renderWithContext.js | |
parent | c439cf851380da27ebaa0edce5fff99f8fb93d65 (diff) | |
download | gitbook-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/renderWithContext.js')
-rw-r--r-- | packages/gitbook-core/src/lib/renderWithContext.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/gitbook-core/src/lib/renderWithContext.js b/packages/gitbook-core/src/lib/renderWithContext.js index f9a093c..c84c221 100644 --- a/packages/gitbook-core/src/lib/renderWithContext.js +++ b/packages/gitbook-core/src/lib/renderWithContext.js @@ -4,7 +4,7 @@ const { InjectedComponent } = require('../components/InjectedComponent'); const PJAXWrapper = require('../components/PJAXWrapper'); const I18nProvider = require('../components/I18nProvider'); const ContextProvider = require('../components/ContextProvider'); -const Navigation = require('../actions/navigation'); +const History = require('../actions/history'); const contextShape = require('../shapes/context'); const GitBookApplication = React.createClass({ @@ -15,12 +15,12 @@ const GitBookApplication = React.createClass({ componentDidMount() { const { context } = this.props; - context.dispatch(Navigation.activate()); + context.dispatch(History.activate()); }, componentWillUnmount() { const { context } = this.props; - context.dispatch(Navigation.deactivate()); + context.dispatch(History.deactivate()); }, render() { |