Fix #1580 by correcting README sample (#1581)

Corrects the README sample in @aspnet/signalr-protocol-msgpack to use the proper UMD module name.
This commit is contained in:
Andrew Stanton-Nurse 2018-03-13 09:51:34 -07:00 committed by GitHub
parent 974eb28b8b
commit 0141d6e4a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ To use the client in a browser, copy `*.js` files from the `dist/browser` folder
```JavaScript ```JavaScript
let connection = new signalR.HubConnection('/chat', { let connection = new signalR.HubConnection('/chat', {
protocol: new signalR.protocol.msgpack.MessagePackHubProtocol() protocol: new signalR.protocols.msgpack.MessagePackHubProtocol()
}); });
connection.on('send', data => { connection.on('send', data => {