From acd1dc5e2476ee8628522de4e8694b79531d3cd4 Mon Sep 17 00:00:00 2001 From: Dan Kirkham Date: Wed, 25 Jan 2017 17:43:02 +0000 Subject: [PATCH] Fixed inconsistent single quotes (#154) --- src/Microsoft.AspNetCore.SignalR.Client.TS/Connection.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Microsoft.AspNetCore.SignalR.Client.TS/Connection.ts b/src/Microsoft.AspNetCore.SignalR.Client.TS/Connection.ts index 39c1139304..5e0fe769f3 100644 --- a/src/Microsoft.AspNetCore.SignalR.Client.TS/Connection.ts +++ b/src/Microsoft.AspNetCore.SignalR.Client.TS/Connection.ts @@ -26,7 +26,7 @@ export class Connection { this.connectionState = ConnectionState.Disconnected; } - async start(transportName: string = 'webSockets'): Promise { + async start(transportName: string = "webSockets"): Promise { if (this.connectionState != ConnectionState.Disconnected) { throw new Error("Cannot start a connection that is not in the 'Disconnected' state"); } @@ -50,13 +50,13 @@ export class Connection { } private createTransport(transportName: string): ITransport { - if (transportName === 'webSockets') { + if (transportName === "webSockets") { return new WebSocketTransport(); } - if (transportName === 'serverSentEvents') { + if (transportName === "serverSentEvents") { return new ServerSentEventsTransport(this.httpClient); } - if (transportName === 'longPolling') { + if (transportName === "longPolling") { return new LongPollingTransport(this.httpClient); }