From a082fd6d405fa23775645f71a19310981af680d4 Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Thu, 1 Jun 2017 11:24:21 +0200 Subject: [PATCH] Allow rendering of pages using RequireJS See https://electron.atom.io/docs/faq/#i-can-not-use-jqueryrequirejsmeteorangularjs-in-electron for a more thorough explanation. --- src/renderer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/renderer.js b/src/renderer.js index b5be1df..8840970 100644 --- a/src/renderer.js +++ b/src/renderer.js @@ -152,6 +152,7 @@ exports.createWindow = function createWindow() { blinkFeatures: 'OverlayScrollbars', // Slimmer scrollbars allowDisplayingInsecureContent: true, // Show http content on https site allowRunningInsecureContent: true, // Run JS, CSS from http urls + nodeIntegration: false, // Disable exposing of Node.js symbols to DOM }, });