Skip to content

Commit

Permalink
release 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessioCoser committed Apr 3, 2024
1 parent 78d48c3 commit 49d781d
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/async-counter-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"typescript": "^4.9.3"
},
"dependencies": {
"doom-reactive-state": "^1.0.3"
"doom-reactive-state": "^1.1.0"
}
}
2 changes: 1 addition & 1 deletion examples/cdn-package/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://github.com/AlessioCoser/doom-reactive-state/releases/download/1.0.3/doom-reactive-state.global.js"></script>
<script src="https://github.com/AlessioCoser/doom-reactive-state/releases/download/1.1.0/doom-reactive-state.global.js"></script>
</head>
<body>
<script type="application/javascript">
Expand Down
2 changes: 1 addition & 1 deletion examples/reactive-state-nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"author": "",
"license": "ISC",
"dependencies": {
"doom-reactive-state": "^1.0.3"
"doom-reactive-state": "^1.1.0"
}
}
2 changes: 1 addition & 1 deletion examples/simple-counter-javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"typescript": "^4.9.3"
},
"dependencies": {
"doom-reactive-state": "^1.0.3"
"doom-reactive-state": "^1.1.0"
}
}
20 changes: 20 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,26 @@ document.body.appendChild(App())
3. You will see that every second the incremented number will be printed


## Use it directly inside the HTML
You can load the script from the github release url and start use it right away.
```html
<html>
<head>
<!-- other stuff -->
<script src="https://github.com/AlessioCoser/doom-reactive-state/releases/download/1.1.0/doom-reactive-state.global.js"></script>
</head>
<body>
<script type="application/javascript">
function HelloWorldApp() {
return doom.Span("Hello World!")
}
document.body.appendChild(HelloWorldApp());
</script>
</body>
</html>
```

# Contributing

## Run Tests
Expand Down

0 comments on commit 49d781d

Please sign in to comment.