mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-04 21:29:12 +00:00
Replace var declarations with let declarations (#576)
* Replace var declaration with let declaration
This commit is contained in:
@@ -68,7 +68,7 @@ const schema = {
|
||||
};
|
||||
|
||||
let syncing = false;
|
||||
var state = {}
|
||||
let state = {}
|
||||
const store = new Store({ schema });
|
||||
|
||||
console.log(store);
|
||||
@@ -384,7 +384,7 @@ const createWindow = (tab = 'chat.html') => {
|
||||
firstRun = false;
|
||||
|
||||
// Create splash screen
|
||||
var splash = new BrowserWindow({width: 400, height: 400, transparent: true, frame: false, alwaysOnTop: true});
|
||||
let splash = new BrowserWindow({width: 400, height: 400, transparent: true, frame: false, alwaysOnTop: true});
|
||||
splash.setOpacity(1.0);
|
||||
splash.setBackgroundColor('#d16b4e');
|
||||
splash.loadFile('splash.html');
|
||||
|
||||
Reference in New Issue
Block a user