Skip to content

Commit

Permalink
0.0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
bahrus committed Mar 9, 2024
1 parent 476c750 commit a0e0278
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ Sample markup:
href: `https://newton.now.sh/api/v2/${operation}/${expression}`
})"
onload="({data}) => {
//optional
return data.map(item => {label: item.description, value: item.id})
//optional, actually doesn't make sense with this particular example
return data.map(item => {label: item.description, value: item.id});
}
target=json-viewer[-object]
onerror="console.error(href)"
Expand Down

0 comments on commit a0e0278

Please sign in to comment.