Skip to content

Commit af9072c

Browse files
author
Pete
committed
Merge pull request #227 from Particular/signalr-broadcast-issue
Fixed error with signalr calls not broadcasting properly
2 parents 0b46bdc + 0de23c5 commit af9072c

19 files changed

+33129
-3
lines changed

src/ServicePulse.Host/Scripts/jquery-1.11.3-vsdoc.js

Lines changed: 6728 additions & 0 deletions
Large diffs are not rendered by default.

src/ServicePulse.Host/Scripts/jquery-1.11.3.js

Lines changed: 10351 additions & 0 deletions
Large diffs are not rendered by default.

src/ServicePulse.Host/Scripts/jquery-1.11.3.min.js

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ServicePulse.Host/Scripts/jquery-1.11.3.min.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ServicePulse.Host/app/js/services/services.stream.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,10 @@
5252
var subscriberDictionary = subscriberRegistry[messageType];
5353

5454
for (var key in subscriberDictionary) {
55-
if ($jquery.isFunction(subscriberDictionary[key])) {
56-
subscriberDictionary[key].call(undefined, message);
55+
if (subscriberDictionary.hasOwnProperty(key)) {
56+
if ($jquery.isFunction(subscriberDictionary[key])) {
57+
subscriberDictionary[key].call(undefined, message);
58+
}
5759
}
5860
}
5961
};
@@ -65,7 +67,7 @@
6567

6668
var uniqueKey = registryKey++;
6769

68-
subscriberRegistry[messageType][uniqueKey] = function (event, message) {
70+
subscriberRegistry[messageType][uniqueKey] = function (message) {
6971
handler(message);
7072
};
7173

src/ServicePulse.sln

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SmokeTest.3rdParty", "Smoke
2828
EndProject
2929
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SmokeTest.Shared", "SmokeTest.Shared\SmokeTest.Shared.csproj", "{122AD54A-B249-41C7-858F-CB75E7C0F463}"
3030
EndProject
31+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SmokeTest.SignalrClient", "SmokeTest.SignalrClient\SmokeTest.SignalrClient.csproj", "{C23C4E96-744E-49F6-A4AB-9324E43A166A}"
32+
EndProject
3133
Global
3234
GlobalSection(SolutionConfigurationPlatforms) = preSolution
3335
Debug|Any CPU = Debug|Any CPU
@@ -66,6 +68,10 @@ Global
6668
{122AD54A-B249-41C7-858F-CB75E7C0F463}.Debug|Any CPU.Build.0 = Debug|Any CPU
6769
{122AD54A-B249-41C7-858F-CB75E7C0F463}.Release|Any CPU.ActiveCfg = Release|Any CPU
6870
{122AD54A-B249-41C7-858F-CB75E7C0F463}.Release|Any CPU.Build.0 = Release|Any CPU
71+
{C23C4E96-744E-49F6-A4AB-9324E43A166A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
72+
{C23C4E96-744E-49F6-A4AB-9324E43A166A}.Debug|Any CPU.Build.0 = Debug|Any CPU
73+
{C23C4E96-744E-49F6-A4AB-9324E43A166A}.Release|Any CPU.ActiveCfg = Release|Any CPU
74+
{C23C4E96-744E-49F6-A4AB-9324E43A166A}.Release|Any CPU.Build.0 = Release|Any CPU
6975
EndGlobalSection
7076
GlobalSection(SolutionProperties) = preSolution
7177
HideSolutionNode = FALSE
@@ -76,5 +82,6 @@ Global
7682
{CBC386E8-36FB-4427-A212-88F75C65A6A9} = {E4018B8E-ED2B-464C-B9A7-70BD97448D4B}
7783
{267DA5B2-2F82-4F26-A8B3-E164B226FA98} = {E4018B8E-ED2B-464C-B9A7-70BD97448D4B}
7884
{122AD54A-B249-41C7-858F-CB75E7C0F463} = {E4018B8E-ED2B-464C-B9A7-70BD97448D4B}
85+
{C23C4E96-744E-49F6-A4AB-9324E43A166A} = {E4018B8E-ED2B-464C-B9A7-70BD97448D4B}
7986
EndGlobalSection
8087
EndGlobal
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
5+
// General Information about an assembly is controlled through the following
6+
// set of attributes. Change these attribute values to modify the information
7+
// associated with an assembly.
8+
[assembly: AssemblyTitle("SmokeTest.SignalrClient")]
9+
[assembly: AssemblyDescription("")]
10+
[assembly: AssemblyConfiguration("")]
11+
[assembly: AssemblyCompany("")]
12+
[assembly: AssemblyProduct("SmokeTest.SignalrClient")]
13+
[assembly: AssemblyCopyright("Copyright © 2015")]
14+
[assembly: AssemblyTrademark("")]
15+
[assembly: AssemblyCulture("")]
16+
17+
// Setting ComVisible to false makes the types in this assembly not visible
18+
// to COM components. If you need to access a type in this assembly from
19+
// COM, set the ComVisible attribute to true on that type.
20+
[assembly: ComVisible(false)]
21+
22+
// The following GUID is for the ID of the typelib if this project is exposed to COM
23+
[assembly: Guid("c23c4e96-744e-49f6-a4ab-9324e43a166a")]
24+
25+
// Version information for an assembly consists of the following four values:
26+
//
27+
// Major Version
28+
// Minor Version
29+
// Build Number
30+
// Revision
31+
//
32+
// You can specify all the values or you can default the Revision and Build Numbers
33+
// by using the '*' as shown below:
34+
[assembly: AssemblyVersion("1.0.0.0")]
35+
[assembly: AssemblyFileVersion("1.0.0.0")]

src/SmokeTest.SignalrClient/Scripts/jquery-1.11.3.intellisense.js

Lines changed: 2657 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)