Update version numbers

This commit is contained in:
Ben Croker 2025-02-08 19:49:01 -06:00
parent 1004107c93
commit c89da30a6d
No known key found for this signature in database
GPG Key ID: 09D799816F1CF332
5 changed files with 7 additions and 7 deletions

View File

@ -13,7 +13,7 @@ Datastar helps you build reactive web applications with the simplicity of server
Getting started is as easy as adding a single 14.3 KiB script tag to your HTML.
```html
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.3/bundles/datastar.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.4/bundles/datastar.js"></script>
```
Then start adding frontend reactivity using declarative <code>data-*</code> attributes.
@ -44,7 +44,7 @@ You can manually add your own plugins to the core:
<script type="importmap">
{
"imports": {
"datastar": "https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.3/bundles/datastar.js"
"datastar": "https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.4/bundles/datastar.js"
}
}
</script>

View File

@ -13,7 +13,7 @@ Datastar helps you build reactive web applications with the simplicity of server
Getting started is as easy as adding a single 14.3 KiB script tag to your HTML.
```html
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.3/bundles/datastar.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.4/bundles/datastar.js"></script>
```
Then start adding frontend reactivity using declarative <code>data-*</code> attributes.
@ -44,7 +44,7 @@ You can manually add your own plugins to the core:
<script type="importmap">
{
"imports": {
"datastar": "https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.3/bundles/datastar.js"
"datastar": "https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.4/bundles/datastar.js"
}
}
</script>

View File

@ -8,7 +8,7 @@ Real-time Hypermedia first Library and Framework for dotnet
<html lang="en">
<head>
<script type="module"
src="https://cdn.jsdelivr.net/gh/starfederation/datastar@1.0.0-beta.3/bundles/datastar.js"></script>
src="https://cdn.jsdelivr.net/gh/starfederation/datastar@1.0.0-beta.4/bundles/datastar.js"></script>
<title>D* Demo</title>
</head>
<body>

View File

@ -9,7 +9,7 @@ import (
templ Home() {
{{
cdnText := `<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.3/bundles/datastar.js"></script>`
cdnText := fmt.Sprintf(`<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/datastar@%s/bundles/datastar.js`, datastar.Version)
}}
{{
usageSample := `<input data-bind-title />

View File

@ -19,7 +19,7 @@ With Datastar, you can build any UI that a full-stack framework like React, Vue.
The quickest way to use Datastar is to include it in your HTML using a script tag hosted on a CDN.
```html
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.3/bundles/datastar.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.4/bundles/datastar.js"></script>
```
If you prefer to host the file yourself, download your own bundle using the [bundler](/bundler), then include it from the appropriate path.