Leonard Thieu
73fe002d3a
Merge branch 'master' of https://github.com/DefinitelyTyped/DefinitelyTyped into jquery
2017-07-11 12:03:53 -04:00
Leonard Thieu
c0be2168e3
[jquery] Fix event handler types.
...
The type of `this` for event handlers can now be specified using the new type `EventHandlerBase`. Event-related methods have been updated to accept `EventHandlerBase`.
Event handlers with non-default TData can now be unbound.
2017-07-11 11:59:58 -04:00
Leonard Thieu
263ecda463
[jquery] Improve declaration of proxy().
...
Return a specific function type instead of Function.
Add support for passing null/undefined for context.
2017-07-11 11:20:18 -04:00
Leonard Thieu
af079db266
[jquery] Split @since.
2017-07-11 11:20:17 -04:00
Leonard Thieu
c7393ce546
[jquery] Fix tests.
2017-07-11 11:20:16 -04:00
Leonard Thieu
1c6c4aaf5b
[jquery] scrollLeft() and scrollTop() can also return undefined.
...
scrollLeft() and scrollTop() will return undefined when used on an empty set.
2017-07-11 11:20:15 -04:00
Leonard Thieu
f5fd92f7b3
[jquery] Formatting.
...
Move JQueryStatic above JQuery for consistency.
2017-07-11 11:20:14 -04:00
Leonard Thieu
0367bd2cfc
[jquery] Formatting.
...
Move EventStatic above Event.
2017-07-11 11:19:57 -04:00
stonio
dc178ad6fe
Update README.md
2017-07-10 12:01:04 +02:00
stonio
1df177763e
Update README.md
2017-07-10 11:58:45 +02:00
stonio
7db29def15
Fix comment syntax
2017-07-10 11:30:16 +02:00
stonio
8edb3e3b51
Remove import instructions
2017-07-10 11:29:24 +02:00
stonio
a76b80a359
Add test/learn-tests.ts
2017-07-10 11:27:25 +02:00
stonio
f7da06e430
Restore readonly keyword for "fn" property
2017-07-10 11:26:01 +02:00
stonio
a18fdfd2f4
Create learn-tests.ts
2017-07-07 18:14:42 +02:00
stonio
f73e0acaa6
Update index.d.ts to set fn non-readonly
2017-07-07 12:39:22 +02:00
Leonard Thieu
10f0a52b7f
[jquery] Remove Promise1.
...
Promise1 is not being used.
2017-07-02 11:13:40 -04:00
Leonard Thieu
28dd8dcd3f
[jquery] Collapse JQuery declarations.
...
Base types were declared separately because JQuery was a class at one point. This used class-interface merging to avoid having to declare base type members.
2017-07-02 10:58:23 -04:00
Leonard Thieu
e5bce784ca
[jquery] Fix uncaught test errors.
2017-07-02 10:28:55 -04:00
Leonard Thieu
942c41fbb0
Merge branch 'master' of https://github.com/DefinitelyTyped/DefinitelyTyped into jquery
2017-06-29 09:11:22 -04:00
Leonard Thieu
a6134ee5a1
[jquery] Remove support for multiple multi-argument Promises from when().
2017-06-28 13:28:42 -04:00
Leonard Thieu
306806e121
[jquery] More tests.
2017-06-28 09:01:38 -04:00
Leonard Thieu
9dee232fbe
[jquery] Formatting.
2017-06-28 08:16:31 -04:00
Leonard Thieu
db5a6f4bc4
[jquery] Formatting.
2017-06-27 19:08:27 -04:00
Leonard Thieu
b40c38c085
[jquery] Fix Promise.
2017-06-27 18:34:56 -04:00
Leonard Thieu
c735b73233
[jquery] Fix Promise and Deferred.
...
Fix when() ordering.
2017-06-27 18:16:04 -04:00
Leonard Thieu
d03b2b9ad5
[jquery] Change Promise2 to extend from Promise3.
2017-06-27 17:57:35 -04:00
Leonard Thieu
d2a6dc64c0
[jquery] Revise Promise3.
2017-06-27 17:53:13 -04:00
Leonard Thieu
8ec10d94be
[jquery] No null.
2017-06-27 08:12:06 -04:00
Leonard Thieu
11f6048075
[jquery] Fix typo that broke a bunch of tests.
2017-06-27 05:58:11 -04:00
Leonard Thieu
0c09fd187c
Merge branch 'master' of https://github.com/DefinitelyTyped/DefinitelyTyped into jquery
2017-06-26 18:30:49 -04:00
Leonard Thieu
efc67e63d9
[angular][jquery] Fix merge issue with cssPropertySetter.
2017-06-26 17:36:16 -04:00
Leonard Thieu
a0426430da
[jquery] Clean up promises.
2017-06-26 17:22:06 -04:00
Leonard Thieu
706908910c
[jquery] Tween cannot be a class under JQuery.
2017-06-26 13:02:05 -04:00
Leonard Thieu
6fa5e4bc98
[jquery] Make isEmptyObject() a user-defined type guard.
2017-06-26 12:57:00 -04:00
Leonard Thieu
6de6e46771
[jquery] Re-add non-generic catch-all for when().
2017-06-26 12:48:40 -04:00
Leonard Thieu
db67ce96bf
[jquery] Promises cleanup.
2017-06-26 12:38:05 -04:00
Leonard Thieu
c6ba2a6276
[jquery] Allow writing through index signature on JQuery.
2017-06-26 11:42:19 -04:00
Leonard Thieu
f3bcbe6132
[jquery] Document 3.2 deprecations.
2017-06-26 10:39:41 -04:00
Leonard Thieu
79746b4182
[jquery] when() does not emit progress notifications.
2017-06-26 09:19:18 -04:00
Leonard Thieu
b986d024e1
[jquery] Add Deferred.exceptionHook.
2017-06-26 08:16:18 -04:00
Leonard Thieu
ad4c226d12
[jquery] Add @deprecated to ready().
2017-06-26 08:05:35 -04:00
Leonard Thieu
2ff6e2cad4
[jquery] offset() can return undefined on empty sets.
2017-06-26 08:00:00 -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
Leonard Thieu
8532f27673
[jquery] Add more tests for JQueryStatic.when().
2017-06-25 17:07:59 -04:00
Leonard Thieu
86def88082
[jquery] Fix Deferred and Promise.
2017-06-25 15:54:08 -04:00
Leonard Thieu
85c09b5387
[jquery] Add Promise type that supports 2 parameters.
2017-06-25 15:31:35 -04:00
Leonard Thieu
22d76950f9
[jquery] Add Promise type that supports 3 parameters.
2017-06-25 13:52:07 -04: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