Small tweaks
- Fixed errros in JS - Style change in HubEndpoint
This commit is contained in:
parent
caad670cde
commit
e59865a11d
|
|
@ -30,7 +30,9 @@ namespace SocketsSample
|
|||
|
||||
protected override void Initialize(object endpoint)
|
||||
{
|
||||
((Hub)endpoint).Clients = this;
|
||||
var hub = (Hub)endpoint;
|
||||
hub.Clients = this;
|
||||
|
||||
base.Initialize(endpoint);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
}
|
||||
|
||||
// Response
|
||||
if (typeof response.id === "number") {
|
||||
if (response.Id) {
|
||||
var cb = calls[response.Id];
|
||||
|
||||
delete calls[response.Id];
|
||||
|
|
|
|||
Loading…
Reference in New Issue