Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Why does the signalr project choose to extend jquery with their connection?
Surely there is a reason, i just wanna know. :)
$.connection.hub.start();
could instead be
var connection = signalr.createConnection(); connection.start();
今天 signalr 是一个 jquery 插件,因为它使用 jquery 的组件,包括:
有一个工作项可以将 SignalR 与 jQuery 分离,但目前它在优先级列表中并不是很高。