Rename package to 'flipper'
Summary: - rename package `'sonar'` > `'flipper'` - rename package `'sonar-static'` > `'flipper-static'` - rename package export from `window.Sonar` to `window.Flipper` Reviewed By: passy Differential Revision: D9851181 fbshipit-source-id: 34d4447c3b287496b3d20ddb54471ce777ec74e1
This commit is contained in:
committed by
Facebook Github Bot
parent
2e2924c979
commit
66e77075be
@@ -5,10 +5,10 @@
|
||||
* @format
|
||||
*/
|
||||
|
||||
import {GK} from 'sonar';
|
||||
import {GK} from 'flipper';
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import * as Sonar from 'sonar';
|
||||
import * as Flipper from 'flipper';
|
||||
import {FlipperPlugin, FlipperBasePlugin} from '../plugin.js';
|
||||
import {remote} from 'electron';
|
||||
|
||||
@@ -19,7 +19,7 @@ const remoteEnv = remote.process.env;
|
||||
// expose Sonar and exact globally for dynamically loaded plugins
|
||||
window.React = React;
|
||||
window.ReactDOM = ReactDOM;
|
||||
window.Sonar = Sonar;
|
||||
window.Flipper = Flipper;
|
||||
|
||||
const addIfNotAdded = plugin => {
|
||||
if (!plugins.has(plugin.name)) {
|
||||
|
||||
Reference in New Issue
Block a user