chore(ajax): bump to major version 1.0.0

This commit is contained in:
Martin Pool 2022-07-19 10:28:43 +02:00
parent 718ce0146a
commit 18287a6465
3 changed files with 17 additions and 6 deletions

View file

@ -0,0 +1,5 @@
---
'@lion/ajax': major
---
First major release (no difference with 0.16.0)

View file

@ -91,9 +91,12 @@ There's a couple of "systems" in lion which have a JavaScript API. Examples are
<script type="module">
import { ajax } from '@lion/ajax';
ajax.get('data.json').then(response => {
// most likely you will use response.data
});
ajax
.fetch('data.json')
.then(response => response.json())
.then(data => {
// do something with the data
});
</script>
```

View file

@ -55,9 +55,12 @@ There's a couple of "systems" in lion which have a JavaScript API. Examples are
<script type="module">
import { ajax } from '@lion/ajax';
ajax.get('data.json').then(response => {
// most likely you will use response.data
});
ajax
.fetch('data.json')
.then(response => response.json())
.then(data => {
// do something with the data
});
</script>
```