mirror of
https://github.com/electron/electron.git
synced 2026-01-14 18:08:07 -05:00
6 lines
154 B
JavaScript
6 lines
154 B
JavaScript
const { ipcRenderer } = require('electron');
|
|
|
|
window.onload = function () {
|
|
ipcRenderer.send('answer', typeof window.process, typeof window.Buffer);
|
|
};
|