Add javascript to make work in Electron out of box #26

Open
mjsisley wants to merge 2 commits from mjsisley/master into master
mjsisley commented 2017-11-03 22:40:24 -07:00 (Migrated from github.com)

Adding the following lines makes this work in an Electron environment out of the box (without affecting the browser environment).

Changes made per: https://stackoverflow.com/questions/32621988/electron-jquery-is-not-defined

Adding the following lines makes this work in an Electron environment out of the box (without affecting the browser environment). Changes made per: https://stackoverflow.com/questions/32621988/electron-jquery-is-not-defined
josephernest (Migrated from github.com) reviewed 2017-11-04 03:26:34 -07:00
@ -80,6 +80,7 @@ html { font-family: sans-serif; }
josephernest (Migrated from github.com) commented 2017-11-04 03:26:34 -07:00

Let's do:

<script>if (typeof module === 'object') { window.module = module; module = undefined; }</script>   // to make it work with Electron: https://github.com/electron/electron`
Let's do: <script>if (typeof module === 'object') { window.module = module; module = undefined; }</script> // to make it work with Electron: https://github.com/electron/electron`
mjsisley (Migrated from github.com) reviewed 2017-11-04 05:38:56 -07:00
@ -80,6 +80,7 @@ html { font-family: sans-serif; }
mjsisley (Migrated from github.com) commented 2017-11-04 05:38:56 -07:00

Sounds good

Sounds good
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin mjsisley/master:mjsisley/master
git switch mjsisley/master

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff mjsisley/master
git switch mjsisley/master
git rebase master
git switch master
git merge --ff-only mjsisley/master
git switch mjsisley/master
git rebase master
git switch master
git merge --no-ff mjsisley/master
git switch master
git merge --squash mjsisley/master
git switch master
git merge --ff-only mjsisley/master
git switch master
git merge mjsisley/master
git push origin master
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
brad/writing!26
No description provided.