Skip to content

Fix #1387 - refactor win.webContents.executeJavaScript(src) to use promises#1504

Open
jordanhatcher wants to merge 4 commits intosegment-boneyard:masterfrom
jordanhatcher:1387
Open

Fix #1387 - refactor win.webContents.executeJavaScript(src) to use promises#1504
jordanhatcher wants to merge 4 commits intosegment-boneyard:masterfrom
jordanhatcher:1387

Conversation

@jordanhatcher
Copy link

Fixes #1387

I followed the suggestions in the issue, and refactored win.webContents.executeJavaScript(src) to use promises instead of ipc to return the result of the executed Javascript. The issue mentions removing javascript.js, however it looks like it is still necessary to do the string templating there, so it may need to be refactored further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant