Revert moving out setupDevtools call

Reviewed By: menglu

Differential Revision: D2609340

fb-gh-sync-id: 3b27b3e18805660bd19ae705916ce4e51120f7f3
This commit is contained in:
Pawel Sienkowski
2015-11-02 18:29:07 -08:00
committed by facebook-github-bot-3
parent 7021918fe5
commit 9bfadb7e1e
2 changed files with 4 additions and 8 deletions

View File

@@ -69,6 +69,10 @@ function renderApplication<D, P, S>(
rootTag,
'Expect to have a valid rootTag, instead got ', rootTag
);
if (__DEV__ && !window.document) {
var setupDevtools = require('setupDevtools');
setupDevtools();
}
React.render(
<AppContainer rootTag={rootTag}>
<RootComponent