Created
July 16, 2012 19:54
-
-
Save akorczynski/3124658 to your computer and use it in GitHub Desktop.
Base SignalR init
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="~/Scripts/jquery-1.7.2.js" type="text/javascript"></script> | |
<script src="~/Scripts/jquery.signalR-0.5.2.min.js" type="text/javascript"></script> | |
<script type="text/javascript" src="/signalr/hubs"> </script> | |
<script type="text/javascript"> | |
$(function () { | |
var theHub = $.connection.mainHub; // This throws $.connection is undefined | |
}); | |
</script> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment