Skip to content

Commit a3040e2

Browse files
committed
Rename ReactPerf to Perf
As this makes it work out of the box with react-perf chrome extension (which doesn't do a whole lot other than save you having to remember the commands, but is still quite nice).
1 parent c72a49d commit a3040e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/vector/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ rageshake.init().then(() => {
5050
// access via the console
5151
global.React = require("react");
5252
if (process.env.NODE_ENV !== 'production') {
53-
global.ReactPerf = require("react-addons-perf");
53+
global.Perf = require("react-addons-perf");
5454
}
5555

5656
var RunModernizrTests = require("./modernizr"); // this side-effects a global

0 commit comments

Comments
 (0)