Skip to content

Commit 11bfdea

Browse files
author
James Halliday
committed
put indents back
1 parent 1f803aa commit 11bfdea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ http.request = function (params, cb) {
1414
if (!params.host && params.hostname) {
1515
params.host = params.hostname;
1616
}
17-
17+
1818
if (!params.scheme) params.scheme = window.location.protocol.split(':')[0];
1919
if (!params.host) {
2020
params.host = window.location.hostname || window.location.host;
@@ -26,7 +26,7 @@ http.request = function (params, cb) {
2626
params.host = params.host.split(':')[0];
2727
}
2828
if (!params.port) params.port = params.scheme == 'https' ? 443 : 80;
29-
29+
3030
var req = new Request(new xhrHttp, params);
3131
if (cb) req.on('response', cb);
3232
return req;

0 commit comments

Comments
 (0)