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 # Changelog
## v0.0.2 ## v0.0.3
- Fixes for `try/catch` - Fixes for `try/catch`

View file

@ -47,13 +47,13 @@ To create a new release:
To upgrade examples: 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 bb release
cd gh-pages cd gh-pages
git checkout -b v0.0.2 git checkout -b v0.0.3
git push --set-upstream origin v0.0.2 git push --set-upstream origin v0.0.3
git checkout gh-pages git checkout gh-pages
cd .. 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> <html>
<head> <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 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.cljs-ajax.js" type="application/javascript"></script>
<script type="application/x-scittle"> <script type="application/x-scittle">
(require '[ajax.core :refer [GET]]) (require '[ajax.core :refer [GET]])

View file

@ -1,6 +1,6 @@
<html> <html>
<head> <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"> <script type="application/x-scittle">
(defn my-alert [] (defn my-alert []
(js/alert "You clicked!")) (js/alert "You clicked!"))

View file

@ -1,9 +1,9 @@
<html> <html>
<head> <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@17/umd/react.production.min.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@17/umd/react-dom.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"> <script type="application/x-scittle">
(require '[reagent.core :as r] (require '[reagent.core :as r]
'[reagent.dom :as rdom]) '[reagent.dom :as rdom])

View file

@ -74,7 +74,7 @@
<p> <p>
To use scittle on your own site, it is recommended to use the links To use scittle on your own site, it is recommended to use the links
published to 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>. page</a>.
</p> </p>