Ryan Cavanaugh
a4f5ae3098
Merge commit 'upstream/master~250' into merge_7_25
2016-07-26 18:03:56 -07:00
Ryan Cavanaugh
b9245fba39
Merge commit 'upstream/master~350' into merge_7_25
2016-07-26 17:24:39 -07:00
Ryan Cavanaugh
35075752ec
Merge commit 'upstream/master~750' into merge_7_25
2016-07-25 14:51:03 -07:00
Ryan Cavanaugh
a5f4d50ccc
Fix tsconfig files for new option name / behavior.
...
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Raghav Katyal
395c4e1639
Turning on consistent casing flag and fixing failures
2016-06-30 15:14:49 -07:00
Mohamed Hegazy and GitHub
3baa34499f
Merge pull request #8181 from MizunagiKB/patch-1
...
Collection.remove: Argument type is missing.
2016-06-26 16:29:45 -07:00
Mohamed Hegazy and GitHub
ded1efdca0
Merge pull request #8951 from webbiesdk/BackboneMakeIsGone
...
Backbone: View#make doesn't exists anymore
2016-06-22 16:37:25 -07:00
Mohamed Hegazy and GitHub
484c9c86d4
Merge pull request #9225 from delphinus35/feature/backbone-underscore-methods
...
Feature/backbone underscore methods
2016-06-21 15:31:04 -07:00
Ryan Cavanaugh
bfd400a8f8
Add noEmit to all config files
2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
50387d4046
Change relative reference paths to types references. Errors incoming...
2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
49b1ac6a38
Rename all entry points to index.d.ts and explicitify all file lists
2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
ab2b4191c5
Add typesRoot to all config files
2016-05-09 13:52:25 -07:00
Gwyn Judd and Masahiro Wakame
66dcd24735
Made fragmentOverride parameter for loadUrl optional ( #9229 )
2016-05-09 23:57:56 +09:00
Ryan Cavanaugh
5859f63fd3
Keep fixing...
2016-05-05 12:38:52 -07:00
Jiawei Li and Masahiro Wakame
f748ed9ab5
fix(backbone): add Collection.add merge option ( #9195 )
...
This option is documented at http://backbonejs.org/#Collection-add .
2016-05-06 03:43:14 +09:00
delphinus
c36f13d2e1
Add tests for methods derived from underscore.js
2016-05-05 20:58:13 +09:00
delphinus
5db72154fd
Add methods derived from underscore.js
2016-05-05 20:51:36 +09:00
Ryan Cavanaugh
ded70421be
Turn off strict null checks
2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
69d1929d8a
Add tsconfig.json files
2016-05-04 14:14:39 -07:00
Ryan Cavanaugh
15dbdc4c4c
Remove *all* tscparams
2016-04-27 20:47:56 -07:00
Ryan Cavanaugh
e7c111c4b7
Merge remote-tracking branch 'upstream/master' into types2.0
...
Add tsconfig files everywhere
# Conflicts:
# azure-mobile-services-client/AzureMobileServicesClient.d.ts
# bookshelf/bookshelf.d.ts
# hapi/hapi.d.ts
# helmet/helmet.d.ts
# mongodb/mongodb.d.ts
# nock/nock.d.ts
# react-bootstrap/react-bootstrap.d.ts
# react-helmet/react-helmet.d.ts
# restify/restify.d.ts
# sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
Jan Aagaard and Masahiro Wakame
438405f081
events added to ViewOptions ( #9004 )
2016-04-18 00:24:50 +09:00
webbiesdk and Masahiro Wakame
88736ffa1d
Backbone: History.getFragment, the implementation doesn't have any mention of a second argument ( #8949 )
2016-04-13 00:48:30 +09:00
Erik Krogh Kristensen
03022b7d8f
Backbone: Model#change doesn't exist either #8951
2016-04-12 14:06:44 +02:00
Erik Krogh Kristensen
8a9ea7db63
Backbone: Make doesn't exists anymore. See changelog from for version 0.9.10 (View#make has been removed. You'll need to use $ directly to construct DOM elements now.)
2016-04-12 13:47:35 +02: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
vvakame
6ecf96f408
adhoc fix backbone/backbone-with-lodash-tests.ts and backbone/backbone-tests.ts
2016-02-23 15:29:47 +09:00
MizunagiKB
74a8ca9e7e
Collection.remove: Argument type is missing.
...
It is different arguments in the add function and remove function.
(add - Backbone.Collection.add, remove - Backbone.Collection.remove)
Those that can be used in argument, a Model instance, id string or a JS object
http://backbonejs.org/#Collection-remove
2016-02-20 14:11:16 +09:00
vvakame
4de74cb527
normalize line ending (CRLF -> LF)
2016-02-16 01:20:30 +09:00
DomiR
808a31e15f
(feature) Fist step to upgrade lodash to 4.0.0
2016-01-23 14:39:10 +01: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
b27d0d0e1c
fix npm run test failed
2015-10-14 13:56:47 +09:00
vvakame
19c3cea535
add backbone/backbone-global.d.ts.tscparams
2015-10-13 01:50:29 +09:00
vvakame
6560904177
move backbone.d.ts to backbone-global.d.ts
2015-10-13 00:16:22 +09:00
Jason Young
de9e6a4867
Remove hard reference to underscore typings
...
I removed the hard reference to the underscore typings. Keeping this reference in here makes it impossible to mix lodash and underscore in the same projects. In my case, another library is bringing in lodash, so I don't really have a choice.
By leaving out this reference, underscore or lodash can be included separately, and the user will still get typing information on that.
2015-10-07 18:05:10 -07:00
Morris Allison III
ec7f772c2b
Add the "replace" option to "router.navigate()"
...
See Backbone documentation for the option here:
http://backbonejs.org/#Router-navigate
2015-09-14 12:50:31 -04:00
Masahiro Wakame
ecbdfe2832
Merge pull request #4907 from Softpagehomeware/bugfix/marionette/generics_for_collections
...
fixed the Collection- / Composite child view issue.
2015-08-21 22:34:32 +09:00
Ben Coveney
1360a859c9
Grouped function overloads into single definitions
...
Union types available in typescript as of 1.4. Some semantically identical overloaded function definitions have been tidied up into single definitions.
2015-08-03 15:50:30 +01:00
Ben Coveney
7ea45fcc6c
Fixed spelling mistakes, inconsistency
2015-07-31 13:44:56 +01:00
Basarat Ali Syed
dd4d30bbc3
Merge pull request #4931 from Wordenskjold/patch-2
...
Make it possible to initialize a Backbone.Collection from raw objects
2015-07-30 07:40:38 +10:00
Salehen Shovon Rahman
8b706fb1c6
Added slice to Backbone.Collection
...
Without it, TypeScript throws a type error, stating that `Collection<TModel>` does not have a method called `slice`.
2015-07-21 15:09:23 -07:00