autoformat more easy files

This commit is contained in:
Zeke Sikelianos 2016-03-25 12:57:17 -07:00 committed by Kevin Sawicki
parent 67fa250020
commit 3855a774ab
19 changed files with 1068 additions and 1076 deletions

View file

@ -1,21 +1,21 @@
'use strict';
'use strict'
const binding = process.atomBinding('ipc');
const v8Util = process.atomBinding('v8_util');
const binding = process.atomBinding('ipc')
const v8Util = process.atomBinding('v8_util')
// Created by init.js.
const ipcRenderer = v8Util.getHiddenValue(global, 'ipc');
const ipcRenderer = v8Util.getHiddenValue(global, 'ipc')
ipcRenderer.send = function(...args) {
return binding.send('ipc-message', args);
};
ipcRenderer.send = function (...args) {
return binding.send('ipc-message', args)
}
ipcRenderer.sendSync = function(...args) {
return JSON.parse(binding.sendSync('ipc-message-sync', args));
};
ipcRenderer.sendSync = function (...args) {
return JSON.parse(binding.sendSync('ipc-message-sync', args))
}
ipcRenderer.sendToHost = function(...args) {
return binding.send('ipc-message-host', args);
};
ipcRenderer.sendToHost = function (...args) {
return binding.send('ipc-message-host', args)
}
module.exports = ipcRenderer;
module.exports = ipcRenderer