From 36e381c8cdc92466b0e18e14a7769a89c6eb88ad Mon Sep 17 00:00:00 2001 From: Sasha Aliashkevich Date: Sat, 30 Mar 2019 22:14:46 +0100 Subject: [PATCH] typos fixes --- main.js | 5 ++++- src/Config.js | 2 +- src/ObjectInfo.js | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/main.js b/main.js index 93e439c..6c5acfe 100644 --- a/main.js +++ b/main.js @@ -25,7 +25,7 @@ if (process.platform == 'linux'){ var electron = require('electron'); var config = require('./build/Config'); -require('electron-reload')(__dirname); +//require('electron-reload')(__dirname); var app = electron.app; var BrowserWindow = electron.BrowserWindow; @@ -44,6 +44,7 @@ var createWindow = function(){ }, }); mainWindow.maximize(); + //mainWindow.toggleDevTools(); mainWindow.loadURL('file://' + __dirname + '/index.html'); mainWindow.on('closed', function() { mainWindow = null; @@ -108,3 +109,5 @@ app.on('open-url', function (ev, url) { urlToOpen = url; } }); + +console.log('init done'); diff --git a/src/Config.js b/src/Config.js index 34bd18e..afdfb9b 100644 --- a/src/Config.js +++ b/src/Config.js @@ -115,7 +115,7 @@ var Conf = { }, getSecret: function(connstr){ - if (typeof config.secrets != undefined){ + if (typeof config.secrets != 'undefined'){ return config.secrets[connstr]; } }, diff --git a/src/ObjectInfo.js b/src/ObjectInfo.js index 83e6493..c8c3d60 100644 --- a/src/ObjectInfo.js +++ b/src/ObjectInfo.js @@ -27,7 +27,7 @@ require('brace/keybinding/vim'); var Cassandra = require('./connectors/cassandra/Renderer.js'); var Mysql = require('./connectors/mysql/Renderer.js'); var MSsql = require('./connectors/mssql/Renderer.js'); -var Firebase = require('./connectors/Firebase/Renderer.js'); +var Firebase = require('./connectors/firebase/Renderer.js'); var ObjectInfo = React.createClass({