Skip to content

Commit

Permalink
release prep
Browse files Browse the repository at this point in the history
  • Loading branch information
1cg committed Oct 20, 2024
1 parent 03ecca7 commit 95b1c16
Show file tree
Hide file tree
Showing 10 changed files with 45 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ it is a companion project of <https://htmx.org>

```html

<script src="https://unpkg.com/[email protected].12"></script>
<script src="https://unpkg.com/[email protected].13"></script>


<button _="on click toggle .clicked">
Expand Down
2 changes: 1 addition & 1 deletion dist/_hyperscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -7664,7 +7664,7 @@
evaluate: runtime_.evaluate.bind(runtime_),
parse: runtime_.parse.bind(runtime_),
processNode: runtime_.processNode.bind(runtime_),
version: "0.9.12",
version: "0.9.13",
browserInit,
}
)
Expand Down
2 changes: 1 addition & 1 deletion dist/_hyperscript.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripting",
"HTML"
],
"version": "0.9.12",
"version": "0.9.13",
"homepage": "https://hyperscript.org/",
"bugs": {
"url": "https://github.com/bigskysoftware/_hyperscript/issues"
Expand Down
2 changes: 1 addition & 1 deletion src/_hyperscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -7665,7 +7665,7 @@
evaluate: runtime_.evaluate.bind(runtime_),
parse: runtime_.parse.bind(runtime_),
processNode: runtime_.processNode.bind(runtime_),
version: "0.9.12",
version: "0.9.13",
browserInit,
}
)
Expand Down
22 changes: 22 additions & 0 deletions test/playground/scratch.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,28 @@

<em>Work Area</em>

<br/><br/>

<div _="on mousedown
log 'starting'
set elapsed to 0
repeat until event pointerup
if elapsed < 100
wait 1s
log 'waited'
set elapsed to elapsed + 10
continue
end
log 'breaking'
break
end
log 'done'
">
Click Me
</div>
<output>--</output>


<hr />
<button _="on click fetch 'https://jsonplaceholder.typicode.com/posts' as Object
log it
Expand Down
2 changes: 1 addition & 1 deletion www/commands/render.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ title: render - ///_hyperscript

Note: if you want the template command, you must include the /dist/template.js file in addition to the hyperscript script
~~~ html
<script src="https://unpkg.com/[email protected].12/dist/template.js"></script>
<script src="https://unpkg.com/[email protected].13/dist/template.js"></script>
~~~

### Syntax
Expand Down
2 changes: 1 addition & 1 deletion www/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ OK, let's get started with hyperscript!
Hyperscript is a dependency-free JavaScript library that can be included in a web page without any build step:

~~~ html
<script src="https://unpkg.com/[email protected].12"></script>
<script src="https://unpkg.com/[email protected].13"></script>
~~~

If you are using a build step:
Expand Down
2 changes: 1 addition & 1 deletion www/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ on pointerdown
</div>


<div style="flex-basis: 100%; text-align: center;"><span id="install"><strong>Install:</strong> <code style="border: 2px dotted #00000055; margin: 0 10px; padding: 4px 6px; border-radius: 4px">&lt;script src="https://unpkg.com/[email protected].12"&gt;&lt;/script&gt;</code>
<div style="flex-basis: 100%; text-align: center;"><span id="install"><strong>Install:</strong> <code style="border: 2px dotted #00000055; margin: 0 10px; padding: 4px 6px; border-radius: 4px">&lt;script src="https://unpkg.com/[email protected].13"&gt;&lt;/script&gt;</code>
<button style="font:inherit;font-size:.8em;background:#3465a4;color:white;border:none;padding: 0 .4em; border-radius: .4em" _="on click
writeText(my previousElementSibling's innerText) on navigator.clipboard
put 'copied!' into me
Expand Down
15 changes: 15 additions & 0 deletions www/posts/2024-10-20-hyperscript-0.9.13-is-released.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
layout: layout.njk
tags: post
title: hyperscript 0.9.13 has been released!
date: 2024-10-20
---

## hyperscript 0.9.13 Release

We are pleased to present the [0.9.13 release](https://unpkg.com/browse/[email protected]/) of hyperscript.

### Changes


Enjoy!

0 comments on commit 95b1c16

Please sign in to comment.