answer.js 125 B

12345
  1. var ipcRenderer = require('electron').ipcRenderer
  2. window.answer = function (answer) {
  3. ipcRenderer.send('answer', answer)
  4. }