Track 'reload' usage
Summary: Keep track of how often the 'reload' command is used Reviewed By: passy Differential Revision: D21227851 fbshipit-source-id: 112781024be16e411e93cf2403f95b2f3134d971
This commit is contained in:
committed by
Facebook GitHub Bot
parent
d142369e9d
commit
df88bbb7db
@@ -41,7 +41,7 @@ export type PluginDefinition = {
|
||||
entry?: string;
|
||||
};
|
||||
|
||||
export default (store: Store, _logger: Logger) => {
|
||||
export default (store: Store, logger: Logger) => {
|
||||
// expose Flipper and exact globally for dynamically loaded plugins
|
||||
const globalObject: any = typeof window === 'undefined' ? global : window;
|
||||
globalObject.React = React;
|
||||
@@ -74,6 +74,7 @@ export default (store: Store, _logger: Logger) => {
|
||||
setupMenuBar(
|
||||
[...plugins.devicePlugins.values(), ...plugins.clientPlugins.values()],
|
||||
store,
|
||||
logger,
|
||||
);
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user