mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 20:52:10 +08:00
The History.started flag is set on the class rather than on the class instance (as it is set once globally). Attempts to read *Backbone.history.started* (via the global history instance) always return undefined. Instead the typing should be static member (*Backbone.History.started* is where the correct value is located). This can be seen at http://backbonejs.org/docs/backbone.html#section-203