diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-10-03 10:35:24 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-10-03 10:35:24 +0200 |
commit | 34eb35699d951783837faf026a60abadc888a010 (patch) | |
tree | 6cc3f941ca76b7f32329f6c110fe45374d7dfc99 /packages/gitbook-plugin-theme-default | |
parent | 3ae72bb47c146212d40fc74d857880fa0616ae57 (diff) | |
download | gitbook-34eb35699d951783837faf026a60abadc888a010.zip gitbook-34eb35699d951783837faf026a60abadc888a010.tar.gz gitbook-34eb35699d951783837faf026a60abadc888a010.tar.bz2 |
Change "init to "activate"
Diffstat (limited to 'packages/gitbook-plugin-theme-default')
-rw-r--r-- | packages/gitbook-plugin-theme-default/src/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/gitbook-plugin-theme-default/src/index.js b/packages/gitbook-plugin-theme-default/src/index.js index a07901c..c391908 100644 --- a/packages/gitbook-plugin-theme-default/src/index.js +++ b/packages/gitbook-plugin-theme-default/src/index.js @@ -6,7 +6,7 @@ const locales = require('./i18n'); module.exports = GitBook.createPlugin({ - init: (dispatch, state, { Components, I18n }) => { + activate: (dispatch, state, { Components, I18n }) => { dispatch(Components.registerComponent(Theme, { role: 'Body' })); dispatch(I18n.registerLocales(locales)); }, |