Skip to content

Commit

Permalink
Merge pull request facebook#66 from justin808/react-devtools-fix
Browse files Browse the repository at this point in the history
Enable React devtools by exposing React (setting window.React)
  • Loading branch information
fisherwebdev committed Sep 27, 2014
2 parents d1db952 + 9579909 commit d01c826
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/flux-chat/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ var ChatApp = require('./components/ChatApp.react');
var ChatExampleData = require('./ChatExampleData');
var ChatWebAPIUtils = require('./utils/ChatWebAPIUtils');
var React = require('react');
window.React = React; // export for http://fb.me/react-devtools

ChatExampleData.init(); // load example data into localstorage

Expand Down

0 comments on commit d01c826

Please sign in to comment.