Implementation and further tests for #220

This commit is contained in:
Yuya Ochiai
2016-08-08 23:56:21 +09:00
parent 54849d6859
commit ce6cf485f6
3 changed files with 30 additions and 6 deletions

View File

@@ -1,5 +1,9 @@
'use strict';
window.eval = global.eval = function() {
throw new Error("Sorry, Mattermost does not support window.eval() for security reasons.");
}
const {remote, ipcRenderer} = require('electron');
const settings = require('../common/settings');