Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 730 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 730 Bytes

signalr-jquery-shim

(jquery free signalr, signalr without jquery)

A fork of signalr-shimmy which is based on signalr-no-jquery which is based on react-native-signalr :D :D but without signalr itself, Made to work woth other soultions for example ng2-signalr to make it work without jquery saving more than 80kb of you bundle

how it work

just polly fill JQuery object on window

Usage

npm i signalr-jquery-shim --save

then just replace jquiry with it and signalr will still work as expected in case of angular add this to angular.json

"scripts": [
              "node_modules/signalr-jquery-shim/build/signalr-jquery-shim.js",
              "node_modules/signalr/jquery.signalR.js"
            ]