Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jonny-improbable committed Oct 20, 2018
1 parent fbebb1f commit dcda21d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ts/src/transports/Transport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export interface TransportOptions {
}

export function DefaultHttpTransport(transportOptions: TransportOptions): Transport {
return HttpTransport({ credentials: 'same-origin' })(transportOptions);
return HttpTransport({ credentials: "same-origin" })(transportOptions);
}

function detectHttpTransport(): HttpTransportConstructor {
Expand All @@ -52,7 +52,7 @@ function detectHttpTransport(): HttpTransportConstructor {
}

export interface HttpTransportConfig {
credentials: 'include' | 'same-origin'
credentials: "include" | "same-origin"
}

export interface TransportFactory {
Expand Down
2 changes: 1 addition & 1 deletion ts/src/transports/mozXhr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class MozXHR implements Transport {
xhr.setRequestHeader(key, values.join(", "));
});

if (this.config.credentials === 'include') {
if (this.config.credentials === "include") {
xhr.withCredentials = true;
}

Expand Down
2 changes: 1 addition & 1 deletion ts/src/transports/xhr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class XHR implements Transport {
xhr.setRequestHeader(key, values.join(", "));
});

if (this.config.credentials === 'include') {
if (this.config.credentials === "include") {
xhr.withCredentials = true;
}

Expand Down

0 comments on commit dcda21d

Please sign in to comment.