Commit Graph

50 Commits

Author SHA1 Message Date
Leonard Thieu
efc67e63d9 [angular][jquery] Fix merge issue with cssPropertySetter. 2017-06-26 17:36:16 -04:00
Diogo Franco (Kovensky)
c77f43d7e9 jquery: Update test annotation 2017-06-26 17:58:28 +09:00
Diogo Franco
6bd192c61a jquery: Add null as a possible return value on val()
```ts
$(`<select multiple>
  <option>A</option>
  <option>B</option>
</select>`).val() === null
```
2017-06-26 14:21:19 +09:00
John Reilly
ef795c7ceb Merge pull request #17304 from leonard-thieu/angular
[angular] Remove dependency on @types/jquery
2017-06-24 21:36:28 +01:00
Leonard Thieu
6b8e9e82c2 Merge branch 'master' of https://github.com/DefinitelyTyped/DefinitelyTyped into jquery 2017-06-23 17:33:53 -04:00
Leonard Thieu
d8ac4fa94a [jquery] Add documentation describing project structure. 2017-06-23 16:43:32 -04:00
Leonard Thieu
4c54d08d3c [jquery] Allow passing output of $.parseHTML() directly to manipulation methods. 2017-06-23 14:57:03 -04:00
Leonard Thieu
9e58690bda [jquery] Clean up AjaxSettings.
Add tests for AjaxSettings.
2017-06-23 14:02:14 -04:00
Leonard Thieu
a6390aea00 [jquery] Clean up methods on JQueryStatic.
Add tests for methods on JQueryStatic.
2017-06-23 12:31:10 -04:00
Leonard Thieu
d8e10aafad Merge branch 'master' of https://github.com/DefinitelyTyped/DefinitelyTyped into angular 2017-06-23 09:34:22 -04:00
Leonard Thieu
c898c05c77 [jquery] Update global DOM usage in README. 2017-06-22 07:36:32 -04:00
Diogo Franco
5f557253c0 jquery: Make context non-optional, but allow undefined
Ensures the correct overload is used when the second parameter is not provided.
2017-06-22 10:44:37 +09:00
Diogo Franco
066431b771 Merge branch 'master' into patch-3 2017-06-22 10:43:01 +09:00
Leonard Thieu
40e4a08d66 [jquery] Clean up misc-related methods on JQuery.
Add tests for misc-related methods on JQuery.
2017-06-21 20:30:39 -04:00
Leonard Thieu
798ce5ea69 [jquery] Clean up manipulation-, queue-, and traversing-related methods on JQuery.
Add tests for manipulation-, queue-, and traversing-related methods on JQuery.
2017-06-21 20:15:53 -04:00
Leonard Thieu
ec325e9f84 Merge branch 'master' of https://github.com/DefinitelyTyped/DefinitelyTyped into angular 2017-06-21 17:27:57 -04:00
Leonard Thieu
9b0cda8cdc [jquery] Add README describing usage and guidance for authoring jQuery plugin typedefs. 2017-06-21 15:42:33 -04:00
Leonard Thieu
aa437becb7 [jquery] Fix issues with importing.
Fix the return type of the factory function.
Fix error with type assertions on JQueryStatic when importing jQuery.
2017-06-21 13:02:58 -04:00
Leonard Thieu
2ab69f8719 [jquery] Clean up event-related methods on JQuery.
Add tests for event-related methods on JQuery.
2017-06-21 11:58:48 -04:00
Diogo Franco
fd08ade477 jquery: Make JQueryStatic's context optional
Not having this prevents calling JQueryStatic with a potentially-`undefined` second argument.
2017-06-21 18:02:03 +09:00
Leonard Thieu
ba0b4d124f [jquery] Change the JQueryEventObject legacy type to extend from other legacy types. 2017-06-19 15:07:27 -04:00
Leonard Thieu
5b2eb2d872 [jquery] Fix imported JQueryStatic not returning a JQuery object when called with window. 2017-06-19 13:36:58 -04:00
Leonard Thieu
0f55ae3965 [jquery] Remove type argument on 'properties' paramater in .animate().
The type argument breaks compatibility with objects that do not have an index signature.
2017-06-19 12:00:32 -04:00
Leonard Thieu
9fdf0187a9 [jquery] Clean up pass on effects-related methods on JQuery.
Add tests for effects-related methods on JQuery.
2017-06-19 10:12:57 -04:00
Leonard Thieu
2ab5b39915 [jquery] Add tests for data-related methods on JQuery. 2017-06-18 18:29:01 -04:00
Leonard Thieu
89b331e304 [jquery] width and height methods on JQuery can return undefined on empty sets.
Add tests for CSS-related methods on JQuery.
2017-06-18 18:19:18 -04:00
Leonard Thieu
cb59acb817 [jquery] Added tests for attribute-related and property-related methods on JQuery. 2017-06-18 17:01:10 -04:00
Leonard Thieu
a3ef3077dd [jquery] Fixed signatures on Ajax-related methods on JQuery.
Added tests for Ajax-related methods on JQuery.
2017-06-18 16:26:05 -04:00
Leonard Thieu
821e7ce387 [jquery] Consistency pass. 2017-06-18 15:58:04 -04:00
Leonard Thieu
77ad71917d [jquery] Use 'SuccessTextStatus' instead of 'string'. 2017-06-18 14:55:54 -04:00
Leonard Thieu
4636d3ed83 [jquery] Fix JSDoc failing to associate with type member when TSLint rule flag is in between. 2017-06-18 13:31:35 -04:00
Leonard Thieu
844920fa54 [jquery] Consolidate duplicate signature. 2017-06-17 20:44:47 -04:00
Leonard Thieu
11594d27ad [jquery] Fix export. 2017-06-17 18:33:02 -04:00
Leonard Thieu
01049b1469 [jquery] factory() is not a global. 2017-06-16 15:37:32 -04:00
Leonard Thieu
a91a7d2478 [jquery] false | false = false 2017-06-16 15:28:40 -04:00
Leonard Thieu
a8b1a242b5 [jquery] jqXHR.fail(failCallback) refers to wrong 'this'. 2017-06-16 07:25:27 -04:00
John Reilly
32a5f7521a jquery - restore list of jquery author type definitions 2017-06-15 19:49:39 +01:00
Leonard Thieu
c1a3c72e1a [jquery] Fix implicit 'any' type on variable in callback (occurs in 2.4-rc). 2017-06-15 13:51:32 -04:00
Leonard Thieu
0480c5ec87 Merge branch 'master' of https://github.com/DefinitelyTyped/DefinitelyTyped into jquery 2017-06-15 11:02:59 -04:00
Leonard Thieu
73a768dd0f [jquery] Use TextStatus instead of SuccessTextStatus | ErrorTextStatus. 2017-06-15 10:38:09 -04:00
Leonard Thieu
a415865386 [jquery] JQuery(selector_object_callback) should use type parameter in return type. 2017-06-15 10:21:59 -04:00
Leonard Thieu
0aad34c358 [jquery] Update type definitions.
Fix jqXHR return types.
Rename type parameters for Event/EventHandler to better describe them.
2017-06-14 13:00:18 -04:00
Leonard Thieu
6a556da667 [jquery] Update type definitions (new for v3). 2017-06-13 11:52:16 -04:00
Leonard Thieu
52318fe24f Conform header label. 2017-05-30 13:46:54 -04:00
Leonard Thieu
8ac5e5b4ec Define type for JQueryStatic.fn. 2017-05-28 13:05:00 -04:00
Arthur Ozga
1f7b956ec1 Remove contributor 2017-05-15 15:42:18 -07:00
Kagami Sascha Rosylight
52cebc2f1e remove string indexer from JQuery interface 2017-05-09 07:30:26 +09:00
Maxim Kulikov
c223230018 jquery: allow propertyNames array to css() (#16093) 2017-05-04 18:18:34 -07:00
Vaclav Novotny
8279081781 modified jQuery.on({ [events: string]: handler }) so it resolves handlers as JQueryEventHandlers. (#15979) 2017-05-01 16:30:34 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00