Skip to content

Commit

Permalink
fix(deps): update htmx to 2.0.2 (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
gbbirkisson authored Aug 19, 2024
1 parent dc07a6a commit 0c50252
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions assets/scripts/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
HTMX_VERSION:=2.0.2
HYPERSCRIPT_VERSION:=0.9.12

all: htmx-${HTMX_VERSION}.js hyperscript-${HYPERSCRIPT_VERSION}.js

htmx-${HTMX_VERSION}.js:
wget https://unpkg.com/htmx.org@${HTMX_VERSION}/dist/htmx.min.js -O htmx-${HTMX_VERSION}.js

hyperscript-${HYPERSCRIPT_VERSION}.js:
wget https://unpkg.com/hyperscript.org@${HYPERSCRIPT_VERSION} -O hyperscript-${HYPERSCRIPT_VERSION}.js
1 change: 0 additions & 1 deletion assets/scripts/htmx-1.9.2.js

This file was deleted.

1 change: 1 addition & 0 deletions assets/scripts/htmx-2.0.2.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<link rel="stylesheet" href="/assets/fa/css/regular.min.css">
<link rel="stylesheet" href="/assets/fa/css/solid.min.css">

<script src="/assets/scripts/htmx-1.9.2.js"></script>
<script src="/assets/scripts/htmx-2.0.2.js"></script>
<script src="/assets/scripts/hyperscript-0.9.12.js"></script>
{% if self::dev_enabled() %}
<script src="/assets/scripts/dev-ws.js"></script>
Expand Down

0 comments on commit 0c50252

Please sign in to comment.