From 0141d6e4a3bb7fc95e1b836868617f9052c9a0a2 Mon Sep 17 00:00:00 2001 From: Andrew Stanton-Nurse Date: Tue, 13 Mar 2018 09:51:34 -0700 Subject: [PATCH] Fix #1580 by correcting README sample (#1581) Corrects the README sample in @aspnet/signalr-protocol-msgpack to use the proper UMD module name. --- client-ts/signalr-protocol-msgpack/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client-ts/signalr-protocol-msgpack/README.md b/client-ts/signalr-protocol-msgpack/README.md index 00897674d4..1c7b0dcfa7 100644 --- a/client-ts/signalr-protocol-msgpack/README.md +++ b/client-ts/signalr-protocol-msgpack/README.md @@ -16,7 +16,7 @@ To use the client in a browser, copy `*.js` files from the `dist/browser` folder ```JavaScript let connection = new signalR.HubConnection('/chat', { - protocol: new signalR.protocol.msgpack.MessagePackHubProtocol() + protocol: new signalR.protocols.msgpack.MessagePackHubProtocol() }); connection.on('send', data => { @@ -43,4 +43,4 @@ connection.on('send', data => { connection.start() .then(() => connection.invoke('send', 'Hello')); -``` \ No newline at end of file +```