Remove unused static resources

Summary: It seems that these are not referenced anywhere in the repository.

Reviewed By: mweststrate

Differential Revision: D21176051

fbshipit-source-id: 502d4a2020d230f8c57bee31e15fbcf996484676
This commit is contained in:
Pascal Hartig
2020-04-22 05:05:22 -07:00
committed by Facebook GitHub Bot
parent 2595e40c59
commit 7e768f3e1f
3 changed files with 0 additions and 57 deletions

View File

@@ -1,20 +0,0 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
const {ipcRenderer} = require('electron');
global.sendToHost = (message) => {
ipcRenderer.sendToHost(message);
};
global.setupToReceiveHostMessage = (callback) => {
ipcRenderer.on('hostMessage', (event, message) => {
callback(message);
});
};

View File

@@ -1,37 +0,0 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*
*/
{
remote: {
process: {
env: {},
},
getCurrentWindow: function() {
return {
isFocused: function() {return true;},
on: function() {return true;}
};
},
app: {
getVersion: function() {return global.__VERSION__ || '1';},
getName: function() {return '';},
getAppPath: function() {return process.cwd();}
},
shell: {
openExternal: function() {}
},
Menu: {
buildFromTemplate: function() {
return {items: []}
},
setApplicationMenu: function() {}
}
},
ipcRenderer: {
on: function() {return true;}
},
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB