Skip to content

Commit

Permalink
Merge pull request #185 from rondale-sc/utilize-rehydration-serializa…
Browse files Browse the repository at this point in the history
…tion-from-glimmer

Rehydration
  • Loading branch information
rwjblue authored Mar 8, 2018
2 parents 3b752ff + ac5911f commit 4cc38c6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 21 deletions.
41 changes: 21 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/ember-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -427,12 +427,14 @@ class EmberApp {
function buildBootOptions(shouldRender) {
let doc = new SimpleDOM.Document();
let rootElement = doc.body;
let _renderMode = process.env.EXPERIMENTAL_RENDER_MODE_SERIALIZE ? 'serialize' : undefined;

return {
isBrowser: false,
document: doc,
rootElement,
shouldRender
shouldRender,
_renderMode
};
}

Expand Down

0 comments on commit 4cc38c6

Please sign in to comment.