commit 214e424789f433a4906d9e13b8c0f17d8377f505
parent d84f40ceda21ee73d2a3537a75ce24de99dc044f
Author: Konstantin Tarkus <hello@tarkus.me>
Date: Mon, 9 Feb 2015 18:07:10 +0300
Remove `window.React` global variable
It's no longer used by [React Dev Tools](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en)
Closes #10, thanks @gaearon
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/app.js b/src/app.js
@@ -17,9 +17,6 @@ var Dispatcher = require('./core/Dispatcher');
var AppActions = require('./actions/AppActions');
var ActionTypes = require('./constants/ActionTypes');
-// Export React so the dev tools can find it
-(window !== window.top ? window.top : window).React = React;
-
var path = decodeURI(window.location.pathname);
var setMetaTag = (name, content) => {
// Remove and create a new <meta /> tag in order to make it work