| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
1. Correct code indentations based on jQuery Style Guide
(contribute.jquery.org/style-guide/js/#spacing).
2. Add rules to "src/.eslintrc.json" to enable "enforcing consistent
indentation", with minimal changes to the current code.
Closes gh-4672
(cherry picked from 3d62d5704989f17d3a20ae7521d52e9c8c60b4ee)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit requires all function parameters to be used, not just the last one.
In cases where that's not possible as we need to match an external API, there's
an escape hatch of prefixing an unused argument with `_`.
This change makes it easier to catch unused AMD dependencies and unused
parameters in internal functions the API of which we may change at will, among
other things.
Unused AMD dependencies have been removed as part of this commit.
Closes gh-4381
(cherry-picked from 438b1a3e8a52d3e4efd8aba45498477038849c97)
|
|
|
|
| |
Fixes gh-3609
|
|
|
|
|
|
|
|
|
| |
+30 bytes instead of +182
Thanks to @faisaliyk for the first pass on this feature.
Fixes gh-3532
Close gh-3917
|
|
|
|
| |
- nodeName was included at the wrong spot in dependency lists
|
|
|
|
|
| |
Fixes gh-3475
Closes gh-3505
|
|
|
|
|
| |
Fixes gh-2961
Closes gh-3278
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Renames and changes rnotwhite to focus on HTML whitespace chars
- Change internal use of jQuery.trim to more accurate strip and collapse
- Adds tests to ensure HTML space characters are retained where valid
- Doesn't add tests where the difference is inconsequential and
existing tests are adequate.
Fixes gh-3003
Fixes gh-3072
Close gh-3316
|
| |
|
| |
|
|
|
|
|
|
| |
Use eslint pragmas, fix new errors, etc
Closes gh-3148
|
|
|
|
|
|
|
|
|
|
|
|
| |
Attribute hooks are determined for the lowercase versions of attribute names
but this has not been reflected in the bool attribute hooks. The code that
temporarily removed a handler to avoid an infinite loop was removing an
incorrect handler causing stack overflow.
Fixes gh-3133
Refs gh-2914
Refs gh-2916
Closes gh-3134
|
|
|
|
|
| |
Attributes are no longer always treated as lowercase, although hooks for
them are. This commit fixes a no longer correct comment.
|
|
|
|
| |
Fixes gh-3073
|
|
|
|
|
| |
The changes follow the spec proposed in:
https://github.com/jquery/contribute.jquery.org/issues/95#issuecomment-69379197
|
|
|
|
| |
All support comments were checked for Edge applicability.
|
|
|
|
|
|
|
|
| |
This commits backports some changes done in the patch to the then-existing
compat branch that removed support for old browsers and added some support
comments.
Refs 90d7cc1d8b2ea7ac75f0eacb42439349c9c73278
|
|
|
|
|
| |
Fixes gh-2978
Close gh-3002
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
jQuery used to lower-case the attribute names passed to the .attr setter
to workaround an old IE issue. This is no longer in jQuery 3.0 and
removing it may even "accidentally" make this API sort-of work on SVGs
(see gh-2910) so why not.
Manual lowercasing had to be added to the place where the proper
attrHook is retrieved so that it works regardless of the casing of the
provided name. A regular `toLowerCase()` is enough there as those few
attributes don't contain any non-ASCII characters.
Fixes gh-2914
Closes gh-2916
|
|
|
|
| |
Ref gh-2664
|
|
|
|
|
| |
Fixes gh-2732
Close gh-2840
|
|
|
|
|
|
| |
This reverts commit 53f798cf4d783bb813b4d1ba97411bc752b275f3.
- Turns out this is documented, even if not fully. Need to deprecate before removal.
|
|
|
|
|
| |
Fixes gh-2730
Close gh-2749
|
|
|
|
|
| |
Fixes gh-2562
Close gh-2689
|
|
|
|
| |
Fixes gh-1759
|
|
|
|
|
| |
Fixes gh-2647
Closes gh-2664
|
|
|
|
|
|
| |
- Classes simpliciation
Close gh-2465
|
|
|
|
| |
Ref gh-2491
|
|
|
|
|
| |
Fixes gh-2491
Close gh-2618
|
|
|
|
|
|
|
|
| |
Drop non-critical workarounds for Android 2.3.
Fixes gh-2483
Fixes gh-2505
Closes gh-2581
|
|
|
|
| |
Fixes gh-2056
|
|
|
|
| |
Closes gh-2384
|
|
|
|
|
|
|
|
|
| |
- Note: support for SVG is limited in jQuery,
but this is one area where the cost vs benefit ratio
was acceptable.
Fixes gh-2199
Close gh-2268
|
|
|
|
| |
Closes gh-2233
|
|
|
|
| |
Close gh-2201
|
|
|
|
| |
Ref https://github.com/jquery/jquery/issues/2118
|
| |
|
| |
|
|
|
|
|
| |
Fixes gh-2118
Close gh-2129
|
|
|
|
|
|
|
|
| |
not present: `< 0`
present: `> -1`
at index: `=== N`
Closes gh-1984
|
|
|
|
|
| |
Fixes gh-1950
Closes gh-1949
|
|
|
|
|
|
|
|
|
| |
The hook is still defined; not using it could cause issues in IE<11.
Also, IE10 no longer throws when value not set but it still doesn't trim the
value. IE11 has all those issues fixed; support comments are updated.
Fixes gh-1902
Closes gh-1901
|
| |
|
|
|
|
|
|
|
|
| |
That includes Opera 12.x, Firefox<29, Safari<6.0 and some hacks
for old Blackberry.
Closes gh-1820
Refs gh-1815
|
|
|
|
| |
Ref 29838b6cab6f2e508f3e9692f32918c72b1a504b
|
| |
|
| |
|
|
|
|
| |
Closes gh-1577
|
|
|
|
|
|
|
|
|
|
| |
Fixes #14858
Ref #14686
Closes gh-1531
(cherry picked from commit 9ec429cf6270e455aba4eba85f4db80e633806b6)
Conflicts:
src/attributes/val.js
|