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).
This commit is contained in:
parent
c72a49d229
commit
a3040e22d3
|
@ -50,7 +50,7 @@ rageshake.init().then(() => {
|
||||||
// access via the console
|
// access via the console
|
||||||
global.React = require("react");
|
global.React = require("react");
|
||||||
if (process.env.NODE_ENV !== 'production') {
|
if (process.env.NODE_ENV !== 'production') {
|
||||||
global.ReactPerf = require("react-addons-perf");
|
global.Perf = require("react-addons-perf");
|
||||||
}
|
}
|
||||||
|
|
||||||
var RunModernizrTests = require("./modernizr"); // this side-effects a global
|
var RunModernizrTests = require("./modernizr"); // this side-effects a global
|
||||||
|
|
Loading…
Reference in New Issue