Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

The commits from previous PR have been isolated and additionally, electron and cljs have been slightly bumped #2430

Open
wants to merge 14 commits into
base: develop
Choose a base branch
from

Conversation

prertik
Copy link
Member

@prertik prertik commented Apr 9, 2019

There are some bugs with Electron UI handling. Needs further investigation before merging.

@@ -101,7 +101,7 @@
meta["no-inspect"] = true;
var final = safeStringify(exp);
}
ipc.sendToHost("browser-raise", [meta.obj, meta.ev, {result: final, meta: meta}]);
ipcRenderer.sendToHost("browser-raise", [meta.obj, meta.ev, {result: final, meta: meta}]);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'final' used out of scope.

@@ -101,7 +101,7 @@ function parseArgs() {
optimist.showHelp();
process.exit(0);
}
}
};
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unnecessary semicolon.

@@ -49,7 +49,7 @@ function createWindow() {
});

// and load the index.html of the app.
window.loadUrl('file://' + __dirname + '/LightTable.html?id=' + window.id);
window.loadURL('file://' + __dirname + '/LightTable.html?id=' + window.id);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'__dirname' is not defined.

ipc = require("ipc"),
var app = require('electron').app, // Module to control application life.
BrowserWindow = require('electron').BrowserWindow, // Module to create native browser window.
ipcMain = require("electron").ipcMain,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'require' is not defined.

BrowserWindow = require('browser-window'), // Module to create native browser window.
ipc = require("ipc"),
var app = require('electron').app, // Module to control application life.
BrowserWindow = require('electron').BrowserWindow, // Module to create native browser window.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'require' is not defined.

var app = require('app'), // Module to control application life.
BrowserWindow = require('browser-window'), // Module to create native browser window.
ipc = require("ipc"),
var app = require('electron').app, // Module to control application life.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'require' is not defined.

@prertik
Copy link
Member Author

prertik commented Apr 9, 2019

Additionally, Hound issues have been overlooked. Must fix it this time.

@prertik
Copy link
Member Author

prertik commented Apr 9, 2019

Hmmm, maybe fix optimist and request(new issue) on this same PR.

@Mouvedia
Copy link
Collaborator

Mouvedia commented Apr 9, 2019

Concerning the Hound issues, check my comments on #2416.

@prertik
Copy link
Member Author

prertik commented Apr 10, 2019

Sure. 🍺

…ll works

Signed-off-by: Pratik Karki <predatoramigo@gmail.com>
Signed-off-by: Pratik Karki <predatoramigo@gmail.com>
@codecov
Copy link

codecov bot commented Apr 11, 2019

Codecov Report

Merging #2430 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #2430   +/-   ##
========================================
  Coverage    16.66%   16.66%           
========================================
  Files            1        1           
  Lines           60       60           
  Branches         6        6           
========================================
  Hits            10       10           
  Misses          44       44           
  Partials         6        6

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 300a692...37c2d59. Read the comment docs.

Signed-off-by: Pratik Karki <predatoramigo@gmail.com>
Signed-off-by: Pratik Karki <predatoramigo@gmail.com>
@prertik
Copy link
Member Author

prertik commented Apr 23, 2019

Needs further investigation with yargs. Maybe it needs to use older version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants