From 4148b6549f29c1a65c17dd9f5c6df30c075597f4 Mon Sep 17 00:00:00 2001 From: tarzzz Date: Mon, 23 Sep 2019 15:55:40 -0400 Subject: [PATCH] createBrowserWindowOpts -> windowOpts (because it is a handful) --- src/component/plotly-dash-preview/render.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/component/plotly-dash-preview/render.js b/src/component/plotly-dash-preview/render.js index 090cda62..d4259172 100644 --- a/src/component/plotly-dash-preview/render.js +++ b/src/component/plotly-dash-preview/render.js @@ -14,10 +14,10 @@ const cst = require('./constants') function render (info, opts, sendToMain) { const result = {} - let createBrowserWindowOpts = info.browserSize ? info.browserSize : {} - createBrowserWindowOpts['show'] = opts.debug + let windowOpts = info.browserSize ? info.browserSize : {} + windowOpts['show'] = opts.debug - let win = remote.createBrowserWindow(createBrowserWindowOpts) + let win = remote.createBrowserWindow(windowOpts) const contents = win.webContents const session = contents.session