Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Feb 1, 2025
2 parents 451697a + c25cbec commit 8b604f6
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion build/consts_hello_world.qtpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<head>
<title>Datastar SDK Demo</title>
<script src="https://unpkg.com/@tailwindcss/browser@4"></script>
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/[email protected].2/bundles/datastar.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/[email protected].3/bundles/datastar.js"></script>
</head>
<body class="bg-white dark:bg-gray-900 text-lg max-w-xl mx-auto my-16">
<div data-signals-delay="400" class="bg-white dark:bg-gray-800 text-gray-500 dark:text-gray-400 rounded-lg px-6 py-8 ring shadow-xl ring-gray-900/5 space-y-2">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<title>Datastar SDK Demo</title>
<script src="https://unpkg.com/@tailwindcss/browser@4"></script>
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/[email protected].2/bundles/datastar.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/[email protected].3/bundles/datastar.js"></script>
</head>
<body class="bg-white dark:bg-gray-900 text-lg max-w-xl mx-auto my-16">
<div data-signals-delay="400" class="bg-white dark:bg-gray-800 text-gray-500 dark:text-gray-400 rounded-lg px-6 py-8 ring shadow-xl ring-gray-900/5 space-y-2">
Expand Down
2 changes: 1 addition & 1 deletion examples/dotnet/HelloWorld/wwwroot/hello-world.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<title>Datastar SDK Demo</title>
<script src="https://unpkg.com/@tailwindcss/browser@4"></script>
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/[email protected].2/bundles/datastar.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/[email protected].3/bundles/datastar.js"></script>
</head>
<body class="bg-white dark:bg-gray-900 text-lg max-w-xl mx-auto my-16">
<div data-signals-delay="400" class="bg-white dark:bg-gray-800 text-gray-500 dark:text-gray-400 rounded-lg px-6 py-8 ring shadow-xl ring-gray-900/5 space-y-2">
Expand Down
2 changes: 1 addition & 1 deletion examples/go/hello-world/hello-world.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<title>Datastar SDK Demo</title>
<script src="https://unpkg.com/@tailwindcss/browser@4"></script>
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/[email protected].2/bundles/datastar.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/[email protected].3/bundles/datastar.js"></script>
</head>
<body class="bg-white dark:bg-gray-900 text-lg max-w-xl mx-auto my-16">
<div data-signals-delay="400" class="bg-white dark:bg-gray-800 text-gray-500 dark:text-gray-400 rounded-lg px-6 py-8 ring shadow-xl ring-gray-900/5 space-y-2">
Expand Down
2 changes: 1 addition & 1 deletion examples/php/hello-world/public/hello-world.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<title>Datastar SDK Demo</title>
<script src="https://unpkg.com/@tailwindcss/browser@4"></script>
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/[email protected].2/bundles/datastar.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/[email protected].3/bundles/datastar.js"></script>
</head>
<body class="bg-white dark:bg-gray-900 text-lg max-w-xl mx-auto my-16">
<div data-signals-delay="400" class="bg-white dark:bg-gray-800 text-gray-500 dark:text-gray-400 rounded-lg px-6 py-8 ring shadow-xl ring-gray-900/5 space-y-2">
Expand Down
2 changes: 1 addition & 1 deletion examples/zig/httpz/hello-world/src/hello-world.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<title>Datastar SDK Demo</title>
<script src="https://unpkg.com/@tailwindcss/browser@4"></script>
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/[email protected].2/bundles/datastar.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/[email protected].3/bundles/datastar.js"></script>
</head>
<body class="bg-white dark:bg-gray-900 text-lg max-w-xl mx-auto my-16">
<div data-signals-delay="400" class="bg-white dark:bg-gray-800 text-gray-500 dark:text-gray-400 rounded-lg px-6 py-8 ring shadow-xl ring-gray-900/5 space-y-2">
Expand Down
2 changes: 1 addition & 1 deletion examples/zig/tokamak/hello-world/hello-world.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<title>Datastar SDK Demo</title>
<script src="https://unpkg.com/@tailwindcss/browser@4"></script>
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/[email protected].2/bundles/datastar.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/[email protected].3/bundles/datastar.js"></script>
</head>
<body class="bg-white dark:bg-gray-900 text-lg max-w-xl mx-auto my-16">
<div data-signals-delay="400" class="bg-white dark:bg-gray-800 text-gray-500 dark:text-gray-400 rounded-lg px-6 py-8 ring shadow-xl ring-gray-900/5 space-y-2">
Expand Down
2 changes: 1 addition & 1 deletion sdk/clojure/src/dev/examples/common.clj
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
[:head
[:meta {:charset "UTF-8"}]
[:script {:type "module"
:src "https://cdn.jsdelivr.net/gh/starfederation/[email protected].2/bundles/datastar.js"}]]
:src "https://cdn.jsdelivr.net/gh/starfederation/[email protected].3/bundles/datastar.js"}]]
[:body body]]]))
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

;; NOTE: Monitor the datastar cdn version
(def datastar
(script "module" "https://cdn.jsdelivr.net/gh/starfederation/[email protected].2/bundles/datastar.js"))
(script "module" "https://cdn.jsdelivr.net/gh/starfederation/[email protected].3/bundles/datastar.js"))

(defn scaffold [content & {:as _}]
(hc/compile
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected].2/bundles/datastar.js"></script>
src="https://cdn.jsdelivr.net/gh/starfederation/[email protected].3/bundles/datastar.js"></script>
<title>D* Demo</title>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion site/routes_home.templ
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

templ Home() {
{{
cdnText := `<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/[email protected].2/bundles/datastar.js"></script>`
cdnText := `<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/[email protected].3/bundles/datastar.js"></script>`
}}
{{
usageSample := `<input data-bind-title />
Expand Down
2 changes: 1 addition & 1 deletion site/static/md/guide/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,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/[email protected].2/bundles/datastar.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/[email protected].3/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.
Expand Down

0 comments on commit 8b604f6

Please sign in to comment.