-
Notifications
You must be signed in to change notification settings - Fork 20.5k
1.12 stable #5007
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
1.12 stable #5007
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(Cherry-picked from 3c92770) Thanks @elas7 Fixes jquerygh-2359
This prevents jQuery from caching a prefixed property name if provided directly by the user, e.g. the following code: elem.css( "msTransform", "translate(5px, 2px)" ); should not prevent one from from later setting the transition directly: elem.css( "transform", "translate(5px, 2px)" ); on a browser not understanding the unprefixed version which is the case for Safari 8 & transform. (cherry-picked from d471842) Fixes jquerygh-2015 Closes jquerygh-2298
(cherry-picked from 38a6697) Refs 0705be4 Refs jquerygh-2287 Closes jquerygh-2362
Specifying the type and URL is deprecated: https://docs.npmjs.com/files/package.json#license http://npm1k.org/ (cherry-picked from 8e92e1e) Fixes jquerygh-2331 Closes jquerygh-2330
IE8 doesn't like named anonymous expressions. Not naming the function expression reduces the gzipped size by 5 bytes. In ECMAScript 2015 the function will get the name inferred from the variable name (here: swap) anyway. Refs 02a9d9f
JSON needed to be added to JSHint globals as it's not implied by the es3 setting and yet all our supported browsers have it implemented. (cherry-picked from 1556c46)
Make iterating over jQuery objects possible using ES 2015 for-of:
for ( node of $( "<div id=narwhal>" ) ) {
console.log( node.id ); // "narwhal"
}
(partially cherry-picked from bb026fc)
Fixes jquerygh-1693
(cherry-picked from 04a2969) Refs jquerygh-2301
(cherry-picked from 349edbd) Fixes jquerygh-2301 Closes jquerygh-2366
(cherry-picked from c17543f)
The Microsoft Edge user agent contains "Chrome" so it needs to be checked before Chrome. Refs 8e111df
The file was used by $.browser tests but $.browser now doesn't exists in Core and this file hasn't been updated for a few years. (cherry-picked from e831856) Fixes jquerygh-2398
This reverts commit 0d11c11.
- getClientRects() throws on disconnected elements in IE8 only
- Also add comments to hidden/disconnected tests noting this is to ensure consistency between branches
jQuery.support.ownLast was the only support test that was supposed to be false when it succeeded. It was confusing. Fixes jquerygh-2406 Closes jquerygh-2408
(cherry-picked from 90d828b) Fixes jquerygh-1764 Closes jquerygh-2401
Follow-up for d0388e9
(cherry-picked from 3a0d582) Closes jquerygh-2393
Conflicts: src/selector-native.js test/index.html test/unit/effects.js
The document.implementation.createHTMLDocument("") method creates inert
documents which is good but using it has introduced issues around anchor
elements href property not resolving according to the current document.
Because of that, this patch is getting backed out on 1.x/2.x branches.
(cherry-picked from c5c3073)
Refs cfe468f
Refs jquerygh-1505
Fixes jquerygh-2941
This reverts commit f60729f. Fixes jquerygh-3011 Refs ad358fd
Thanks @blq (Fredrik Blomqvist) Fixes jquerygh-3035 Close jquerygh-3039
IE 11 used to have an issue where if an element inside an iframe was put in fullscreen mode, the element dimensions started being 100 times too small; we've added a workaround that would multiply them by 100. However, the IE 11 issue has been unexpectedly fixed and since our detection was really detecting the browser and not a bug, we've started breaking the browser instead of fixing it. Since there's no good way to detect if the bug exists, we have to back the workaround out completely. Refs ff1a082 Refs fb9adb9 Fixes jquerygh-3041 Refs jquerygh-1764 Refs jquerygh-2401 Refs 90d828b
This reverts commit 498fd24. Node 0.10 has updated its npm to v2 so most issues with it should be resolved now.
Safari 9.1 shares its support test results with Safari 9.0 but it's been excluded from the regex catching Safari 9.0. This has been fixed. (cherry-picked from 234a2d8)
The word boundary character will prevent iOS from being a false positive. (cherry-picked from 7f2ebd2)
This reverts commit 59003ae.
This makes commands like `npm install package --save-dev` always get saved to package.json as a pinned version and not as a `^`-delimited range. (cherry-picked from 6600e2e)
`npm install package@version --save` sorts the dependencies alphabetically so the next such run would fix the order anyway; it's better to not mix concerns, though, so it's done now in a separate commit. (cherry-picked from 4a8985f)
A bug in UglifyJS was causing function declarations to sometimes be put in blocks which wasn't well specified in ES5 so it may break some browsers. This bump will prevent the issue from occurring in any potential future releae in this line. (cherry-picked from b14ce54) Refs jquery#3153 Refs mishoo/UglifyJS#1052
Only allow alphanumeric characters & underscores for callback parameters. This is only test code so we're not fixing any security issue but it happens often enough that the whole jQuery repository directory structure is deployed onto the server with PHP enabled that it makes is easy to introduce security issues if this cleanup is not done. This is a 1.x/2.x version of PR jquerygh-4871. The change doesn't require a release; it's meant at installations testing the latest state of `1.12-stable` & `2.2-stable` branches. This change also fixes testing on Travis & on Chrome/Firefox. Closes jquerygh-4875 Ref jquerygh-4764 Ref jquerygh-4871 (cherry picked from acb7c49)
Member
|
Don’t submit fake PRs, it spams a lot of people. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Checklist