From 16635078ac76d178fa61c79f8624f54325d4cee1 Mon Sep 17 00:00:00 2001 From: Sebastian Kupke Date: Fri, 24 May 2019 11:02:44 +0200 Subject: [PATCH] Fixed logging bug. --- dist/iwmlib.js | 2 +- dist/iwmlib.pixi.js | 2 +- lib/logging.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/iwmlib.js b/dist/iwmlib.js index ed4d4ff..0205b34 100644 --- a/dist/iwmlib.js +++ b/dist/iwmlib.js @@ -1545,7 +1545,7 @@ } - const ipc = null; + let ipc = null; try { ipc = require('electron').ipcRenderer; diff --git a/dist/iwmlib.pixi.js b/dist/iwmlib.pixi.js index a8c76f0..86b75b4 100644 --- a/dist/iwmlib.pixi.js +++ b/dist/iwmlib.pixi.js @@ -4709,7 +4709,7 @@ // } } - const ipc = null; + let ipc = null; try { ipc = require('electron').ipcRenderer; diff --git a/lib/logging.js b/lib/logging.js index 97df4df..3fb9601 100644 --- a/lib/logging.js +++ b/lib/logging.js @@ -1,4 +1,4 @@ -const ipc = null +let ipc = null try { ipc = require('electron').ipcRenderer