Skip to content

Commit 1c0bd5d

Browse files
committed
prettier
1 parent def66e9 commit 1c0bd5d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ async function processHandlers(
163163
html: () => {
164164
req.headers.set('Accept', 'text/html')
165165
return kick()
166-
},
166+
}
167167
}
168168
await Promise.race([kickerCalled, match.data.call(null, form, kicker, req)])
169169
}
@@ -175,7 +175,7 @@ function buildRequest(form: HTMLFormElement): SimpleRequest {
175175
method: form.method || 'GET',
176176
url: form.action,
177177
headers: new Headers({'X-Requested-With': 'XMLHttpRequest'}),
178-
body: null,
178+
body: null
179179
}
180180

181181
if (req.method.toUpperCase() === 'GET') {
@@ -195,7 +195,7 @@ async function remoteSubmit(req: SimpleRequest): Promise<SimpleResponse> {
195195
method: req.method,
196196
body: req.body !== null ? req.body : undefined,
197197
headers: req.headers,
198-
credentials: 'same-origin',
198+
credentials: 'same-origin'
199199
})
200200

201201
const res: SimpleResponse = {
@@ -219,7 +219,7 @@ async function remoteSubmit(req: SimpleRequest): Promise<SimpleResponse> {
219219

220220
response.html = parseHTML(document, response.text)
221221
return response.html
222-
},
222+
}
223223
}
224224

225225
const body = await response.text()

0 commit comments

Comments
 (0)