Skip to content

Commit

Permalink
Revert "temporary compatibility fix" (#8256)
Browse files Browse the repository at this point in the history
This reverts commit bba0d99.
  • Loading branch information
gaearon authored Nov 10, 2016
1 parent 6ce8f1f commit e612826
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
14 changes: 0 additions & 14 deletions src/isomorphic/hooks/ReactComponentTreeDevtool.js

This file was deleted.

4 changes: 0 additions & 4 deletions src/renderers/shared/ReactDebugTool.js
Original file line number Diff line number Diff line change
Expand Up @@ -409,10 +409,6 @@ var ReactDebugTool = {
},
};

// TODO remove these when RN/www gets updated
(ReactDebugTool: any).addDevtool = ReactDebugTool.addHook;
(ReactDebugTool: any).removeDevtool = ReactDebugTool.removeHook;

ReactDebugTool.addHook(ReactInvalidSetStateWarningHook);
ReactDebugTool.addHook(ReactComponentTreeHook);
var url = (ExecutionEnvironment.canUseDOM && window.location.href) || '';
Expand Down

0 comments on commit e612826

Please sign in to comment.