electron/atom/browser/api/lib/ipc.js

8 lines
248 B
JavaScript
Raw Normal View History

2016-01-14 21:16:42 +00:00
const deprecate = require('electron').deprecate;
const ipcMain = require('electron').ipcMain;
2016-01-12 02:40:23 +00:00
2016-01-14 18:35:29 +00:00
// This module is deprecated, we mirror everything from ipcMain.
2016-01-12 02:40:23 +00:00
deprecate.warn('ipc module', 'require("electron").ipcMain');
module.exports = ipcMain;