mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2025-12-22 11:46:30 +00:00
Remove console logs
This commit is contained in:
parent
719399f54b
commit
e4e190f97e
1 changed files with 0 additions and 2 deletions
|
|
@ -48,12 +48,10 @@ class GMResponse {
|
||||||
}
|
}
|
||||||
|
|
||||||
function gmFetch(url, options = {}) {
|
function gmFetch(url, options = {}) {
|
||||||
console.log("Making request")
|
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
options.url = url
|
options.url = url
|
||||||
if (!options.method) options.method = "GET"
|
if (!options.method) options.method = "GET"
|
||||||
options.onload = response => {
|
options.onload = response => {
|
||||||
console.log("Got response", response)
|
|
||||||
resolve(new GMResponse(response))
|
resolve(new GMResponse(response))
|
||||||
}
|
}
|
||||||
options.onerror = response => {
|
options.onerror = response => {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue