Skip to content

Commit

Permalink
load jquery-hotkeys from node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
zadam committed Nov 22, 2023
1 parent a439be7 commit e70539f
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 198 deletions.
195 changes: 0 additions & 195 deletions libraries/jquery.hotkeys.js

This file was deleted.

1 change: 0 additions & 1 deletion libraries/jquery.min.map

This file was deleted.

11 changes: 11 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"jimp": "0.22.10",
"joplin-turndown-plugin-gfm": "1.0.12",
"jquery": "^3.7.1",
"jquery-hotkeys": "^0.2.2",
"jsdom": "22.1.0",
"katex": "0.16.9",
"marked": "9.1.6",
Expand Down
2 changes: 1 addition & 1 deletion src/views/desktop.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<link href="<%= assetPath %>/stylesheets/tree.css" rel="stylesheet">
<script src="<%= assetPath %>/libraries/fancytree/jquery.fancytree-all-deps.min.js"></script>

<script src="<%= assetPath %>/libraries/jquery.hotkeys.js"></script>
<script src="<%= assetPath %>/node_modules/jquery-hotkeys/jquery-hotkeys.js"></script>

<script src="<%= assetPath %>/libraries/autocomplete.jquery.min.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion src/views/setup.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
<script>if (typeof module === 'object') {window.module = module; module = undefined;}</script>

<script src="<%= assetPath %>/node_modules/jquery/dist/jquery.min.js"></script>
<script src="<%= assetPath %>/libraries/jquery.hotkeys.js"></script>
<script src="<%= assetPath %>/node_modules/jquery-hotkeys/jquery-hotkeys.js"></script>

<link href="<%= assetPath %>/libraries/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<script src="<%= assetPath %>/libraries/bootstrap/js/bootstrap.bundle.min.js"></script>
Expand Down

0 comments on commit e70539f

Please sign in to comment.