13 Commits
Author SHA1 Message Date
webbiesdk 88736ffa1d Backbone: History.getFragment, the implementation doesn't have any mention of a second argument (#8949) 2016-04-13 00:48:30 +09:00
Masahiro Wakame e2d55cb761 Merge pull request #6401 from Spinarooni/backbone-comparator-issue#6394
Update Backbone collection.comparator definition to accpet string and…
2016-03-27 01:25:32 +09:00
vvakame 7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame 14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame 56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Randy Patterson Jr 9bec26ff32 Update Backbone collection.comparator definition to accpet string and Function types. Closes #6394. 2016-03-04 09:00:25 -05:00
Sascha Thiel 2f5765d6be isn't the same, so just added the "data" attribute. 2015-12-07 15:08:00 +01:00
Sascha Thiel 9e91f2a6c2 PesistenceOptions is actually JQueryAjaxSettings.
backbone.js:Backbone.sync
> // Make the request, allowing the user to override any Ajax options.
> var xhr = options.xhr = Backbone.ajax(_.extend(params, options));
2015-12-07 14:31:10 +01:00
Sebastian Lenz 6748bfa488 Add delegate and undelegate methods to View
Backbone allows delegating and undelegating single events on view classes as stated in the [annotated source](http://backbonejs.org/docs/backbone.html#section-163). This pull requests add the two methods to the View class.
2015-11-02 22:38:51 +01:00
Omid K. Rad 029999da9e Add overload for Backbone.Events.on() 2015-10-26 17:09:17 -07:00
Omid K. Rad 8863daa0c3 Add interfaces for ObjectHash, RoutesHash and EventsHash 2015-10-26 17:08:57 -07:00
Ben Coveney fa7fcd32f3 Backbone: Fixed History.Started being undefined
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
2015-10-23 10:27:29 +01:00
vvakame 6560904177 move backbone.d.ts to backbone-global.d.ts 2015-10-13 00:16:22 +09:00