Skip to content

Commit

Permalink
doc: update example
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianwessel committed Jul 12, 2024
1 parent 72e4a7e commit b0ad909
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions docs/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,17 +96,17 @@
status: res.status,
ok: res.ok,
statusText: res.statusText,
json: () => res.json(),
text: () => res.text(),
json: async () => await res.json(),
text: async () => await res.text(),
formData: () => res.formData(),
headers: res.headers,
type: res.type,
url: res.url,
blob: () => res.blob(),
blob: async () => await res.blob(),
bodyUsed: res.bodyUsed,
redirected: res.redirected,
body: res.body,
arrayBuffer: () => res.arrayBuffer(),
arrayBuffer: async () => await res.arrayBuffer(),
clone: () => res.clone(),
}
}
Expand Down
8 changes: 4 additions & 4 deletions example/browser/playground.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,17 +96,17 @@
status: res.status,
ok: res.ok,
statusText: res.statusText,
json: () => res.json(),
text: () => res.text(),
json: async () => await res.json(),
text: async () => await res.text(),
formData: () => res.formData(),
headers: res.headers,
type: res.type,
url: res.url,
blob: () => res.blob(),
blob: async () => await res.blob(),
bodyUsed: res.bodyUsed,
redirected: res.redirected,
body: res.body,
arrayBuffer: () => res.arrayBuffer(),
arrayBuffer: async () => await res.arrayBuffer(),
clone: () => res.clone(),
}
}
Expand Down

0 comments on commit b0ad909

Please sign in to comment.