SignalR/SignalR — pull request #254 by MatsKarlsson (2012-03-15 19:20:55+00:00)
Title: Javascript-deferred should return a promise() ...

... which only exposes the methods nee to attach additional handlers or determine the state.

Other code should only be allowed to register callbacks or inspect current state, not change it.

Also renamed var promise to deferred (it is a deferred that returns a promise)