Update examples

This commit is contained in:
Michiel Borkent 2021-08-24 09:43:26 +02:00
parent 595d4d3ead
commit ab42eb7f26
6 changed files with 11 additions and 11 deletions

View file

@ -1,6 +1,6 @@
# Changelog
## v0.0.2
## v0.0.3
- Fixes for `try/catch`

View file

@ -47,13 +47,13 @@ To create a new release:
To upgrade examples:
```
rg '0.0.1' --files-with-matches | xargs sed -i '' 's/0.0.1/0.0.2/g'
rg '0.0.1' --files-with-matches | xargs sed -i '' 's/0.0.1/0.0.3/g'
bb release
cd gh-pages
git checkout -b v0.0.2
git push --set-upstream origin v0.0.2
git checkout -b v0.0.3
git push --set-upstream origin v0.0.3
git checkout gh-pages
cd ..
```
Then make a new release on Github with the `v0.0.2` tag.
Then make a new release on Github with the `v0.0.3` tag.

View file

@ -1,7 +1,7 @@
<html>
<head>
<script src="https://cdn.jsdelivr.net/gh/borkdude/scittle@0.0.2/js/scittle.js" type="application/javascript"></script>
<script src="https://cdn.jsdelivr.net/gh/borkdude/scittle@0.0.2/js/scittle.cljs-ajax.js" type="application/javascript"></script>
<script src="https://cdn.jsdelivr.net/gh/borkdude/scittle@0.0.3/js/scittle.js" type="application/javascript"></script>
<script src="https://cdn.jsdelivr.net/gh/borkdude/scittle@0.0.3/js/scittle.cljs-ajax.js" type="application/javascript"></script>
<script type="application/x-scittle">
(require '[ajax.core :refer [GET]])

View file

@ -1,6 +1,6 @@
<html>
<head>
<script src="https://cdn.jsdelivr.net/gh/borkdude/scittle@0.0.2/js/scittle.js" type="application/javascript"></script>
<script src="https://cdn.jsdelivr.net/gh/borkdude/scittle@0.0.3/js/scittle.js" type="application/javascript"></script>
<script type="application/x-scittle">
(defn my-alert []
(js/alert "You clicked!"))

View file

@ -1,9 +1,9 @@
<html>
<head>
<script src="https://cdn.jsdelivr.net/gh/borkdude/scittle@0.0.2/js/scittle.js" type="application/javascript"></script>
<script src="https://cdn.jsdelivr.net/gh/borkdude/scittle@0.0.3/js/scittle.js" type="application/javascript"></script>
<script crossorigin src="https://unpkg.com/react@17/umd/react.production.min.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@17/umd/react-dom.production.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/borkdude/scittle@0.0.2/js/scittle.reagent.js" type="application/javascript"></script>
<script src="https://cdn.jsdelivr.net/gh/borkdude/scittle@0.0.3/js/scittle.reagent.js" type="application/javascript"></script>
<script type="application/x-scittle">
(require '[reagent.core :as r]
'[reagent.dom :as rdom])

View file

@ -74,7 +74,7 @@
<p>
To use scittle on your own site, it is recommended to use the links
published to
the <a href="https://github.com/borkdude/scittle/releases/tag/v0.0.2">releases
the <a href="https://github.com/borkdude/scittle/releases/tag/v0.0.3">releases
page</a>.
</p>