mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Merge pull request #3535 from vector-im/dbkr/rename_perf
Rename ReactPerf to Perf
This commit is contained in:
commit
ff2a9f4b20
@ -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
Block a user