summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-core/src/bootstrap.js
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-09-22 10:37:06 +0200
committerSamy Pesse <samypesse@gmail.com>2016-09-22 10:37:06 +0200
commitf49089a7d3a6fd5523c71e06e5e0d132bb6ffd9a (patch)
tree4656866589cd5e46650b867cc2447619ea11bb3a /packages/gitbook-core/src/bootstrap.js
parent0b1888e184d3f995c3130daf794416ad0a4312bc (diff)
downloadgitbook-f49089a7d3a6fd5523c71e06e5e0d132bb6ffd9a.zip
gitbook-f49089a7d3a6fd5523c71e06e5e0d132bb6ffd9a.tar.gz
gitbook-f49089a7d3a6fd5523c71e06e5e0d132bb6ffd9a.tar.bz2
Add immutable state for readme/summary
Add shapes for these states
Diffstat (limited to 'packages/gitbook-core/src/bootstrap.js')
-rw-r--r--packages/gitbook-core/src/bootstrap.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/gitbook-core/src/bootstrap.js b/packages/gitbook-core/src/bootstrap.js
index a5b457b..0a2e981 100644
--- a/packages/gitbook-core/src/bootstrap.js
+++ b/packages/gitbook-core/src/bootstrap.js
@@ -11,6 +11,8 @@ function bootstrap() {
const initialState = getPayload(window.document);
const plugins = window.gitbookPlugins;
+ console.log(initialState);
+
const mountNode = document.getElementById('content');
// Create the redux store