mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2024-11-22 08:07:30 +00:00
Remove console logs
This commit is contained in:
parent
719399f54b
commit
e4e190f97e
@ -48,12 +48,10 @@ class GMResponse {
|
||||
}
|
||||
|
||||
function gmFetch(url, options = {}) {
|
||||
console.log("Making request")
|
||||
return new Promise((resolve, reject) => {
|
||||
options.url = url
|
||||
if (!options.method) options.method = "GET"
|
||||
options.onload = response => {
|
||||
console.log("Got response", response)
|
||||
resolve(new GMResponse(response))
|
||||
}
|
||||
options.onerror = response => {
|
||||
|
Loading…
Reference in New Issue
Block a user