2016-03-25 12:57:17 -07:00
|
|
|
'use strict'
|
2016-03-18 11:51:02 -07:00
|
|
|
|
2016-03-25 12:57:17 -07:00
|
|
|
const binding = process.atomBinding('ipc')
|
|
|
|
const v8Util = process.atomBinding('v8_util')
|
2016-01-11 18:40:23 -08:00
|
|
|
|
2016-03-07 01:26:36 -08:00
|
|
|
// Created by init.js.
|
2016-03-25 12:57:17 -07:00
|
|
|
const ipcRenderer = v8Util.getHiddenValue(global, 'ipc')
|
2016-08-20 12:26:32 -03:00
|
|
|
require('./ipc-renderer-setup')(ipcRenderer, binding)
|
2016-05-18 21:19:50 +09:00
|
|
|
|
2016-03-25 12:57:17 -07:00
|
|
|
module.exports = ipcRenderer
|