Marionette.d.ts includes definitions for Backbone.Wreqr, but does not support the recommended way of using the Wreqr object as seen here: https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.application.md#accessing-the-global-channel
I've added the Channel object, and a definition to the Radio class as well. This is only a means of getting a specific channel through the channel() method, so while it is possible to create an instance of Radio, I've chosen only to include channel() method, and make it static.
This makes it possible to access the instance of a channel with the name 'global' like this (created if not found), as recommended in the above documentation:
var channel = Backbone.Wreqr.radio.channel('global');
// channel.vent;
Finally, I've made the parameter context of the setHandler method in the Backbone.Wreqr.Handlers class optional, as this adheres to the actual implementation.
Since the typing is now part of RxJS, referencing it (which is causing a
nuget package dependency) will cause a problem by having twice the save
references in the samme app.
This reference is not needed and is now causing problem because the
definitelyTyped for RxJS is now part of the RxJS package directly. The
Nuget package will needed to be changed also.
* Remove optional parameters from Element interface
* Remove additional parameters from ElementFinder.isElementPresent
* Add "asElementFinders_" and "then" methods to ElementArrayFinder interface
http://backbonejs.org/#Utility-Backbone-$
Also removed `setDomLibrary`
Backbone change log 0.9.9 — Dec. 13, 2012:
To set what library Backbone uses for DOM manipulation and Ajax calls,
use `Backbone.$ = ...` instead of `setDomLibrary`.
Updated from 0.9.3 to 0.10.4
API has changed quite a bit. Part of the functionality (prefetch etc)
has been taken out from the core lib, and merged into a new lib called
Bloodhound.
Bloodhound still has to be ts-ed.