We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de5c432 commit 769881eCopy full SHA for 769881e
src/community/releases.md
@@ -40,13 +40,15 @@ You can find the latest stable release of Leaf on our [GitHub page](https://gith
40
```
41
42
<script>
43
- fetch("https://api.github.com/repos/leafsphp/leaf/releases/latest")
+ if (typeof fetch !== "undefined") {
44
+ fetch("https://api.github.com/repos/leafsphp/leaf/releases/latest")
45
.then(res => res.json())
46
.then(data => {
47
// get item with class language-md
48
document.querySelector(".language-markdown").childNodes.item(2).innerHTML = `<code># ${data.name}</code>\n<code>${data.body}</code>`;
49
// innerHTML = ` - ${new Date(data.published_at).toLocaleDateString()} ${data.body}`;
50
});
51
+ }
52
</script>
53
54
## Latest Leaf MVC Release
0 commit comments