Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Core: Migrate from AMD to ES modules 🎉 | Michał Gołębiowski-Owczarek | 2019-11-18 | 1 | -13/+9 |
| | | | | | | | | | | | | | | | | | | | | | | Migrate all source AMD modules to ECMAScript modules. The final bundle is compiled by a custom build process that uses Rollup under the hood. Test files themselves are still loaded via RequireJS as that has to work in IE 11. Tests can now be run in "Load as modules" mode which replaces the previous "Load with AMD" option. That option of running tests doesn't work in IE and Edge as it requires support for dynamic imports. Some of the changes required by the migration: * check `typeof` of `noGlobal` instead of using the variable directly as it's not available when modules are used * change the nonce module to be an object as ECMASscript module exports are immutable * remove some unused exports * import `./core/parseHTML.js` directly in `jquery.js` so that it's not being cut out when the `ajax` module is excluded in a custom compilation Closes gh-4541 | ||||
* | Build: ESLint: forbid unused function parameters | Michał Gołębiowski-Owczarek | 2019-05-13 | 1 | -4/+1 |
| | | | | | | | | | | | | | 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 | ||||
* | Core: Drop support for IE <11, iOS <11, Firefox <65, Android Browser & PhantomJS | Michał Gołębiowski-Owczarek | 2019-04-29 | 1 | -28/+3 |
| | | | | | | | | | | | Also, update support comments format to match format described in: https://github.com/jquery/contribute.jquery.org/issues/95#issuecomment-69379197 with the change from: https://github.com/jquery/contribute.jquery.org/issues/95#issuecomment-448998379 (open-ended ranges end with `+`). Fixes gh-3950 Fixes gh-4299 Closes gh-4347 | ||||
* | Core: deprecate jQuery.isFunction | Jason Bedard | 2018-01-15 | 1 | -2/+3 |
| | | | | Fixes gh-3609 | ||||
* | Offset: fix error from bad merge in #3695 | Jason Bedard | 2017-07-10 | 1 | -2/+2 |
| | |||||
* | Revert "Offset: Resolve strict mode ClientRect "no setter" exception" | Jason Bedard | 2017-07-10 | 1 | -4/+2 |
| | | | | This reverts commit 3befe5911af0cf516896482bb9ddf197c8cb8a8e. | ||||
* | Core: Deprecate jQuery.isWindow | Shashanka Nataraj | 2017-07-10 | 1 | -3/+3 |
| | | | | | Fixes gh-3629 Close gh-3702 | ||||
* | Offset: Use correct offset parents; include all border/scroll values | Richard Gibson | 2017-04-24 | 1 | -26/+31 |
| | | | | | | | | Thanks @anseki Fixes gh-3080 Fixes gh-3107 Closes gh-3096 Closes gh-3487 | ||||
* | Build: fix tests in AMD mode | Timmy Willison | 2017-03-06 | 1 | -3/+3 |
| | | | | - nodeName was included at the wrong spot in dependency lists | ||||
* | Core: Deprecate jQuery.nodeName | karan-96 | 2017-03-01 | 1 | -2/+4 |
| | | | | | Fixes gh-3475 Closes gh-3505 | ||||
* | Offset: Eliminate little-used internal function | Richard Gibson | 2016-12-19 | 1 | -10/+10 |
| | | | | Fixes gh-3449 Closes gh-3456 | ||||
* | Offset: report offset for 0 sized elements | Jason Bedard | 2016-12-12 | 1 | -13/+8 |
| | | | | Fixes gh-3267 Closes gh-3367 | ||||
* | Build: Put all AMD modules in "src/" in strict mode | Michał Gołębiowski | 2016-04-25 | 1 | -0/+2 |
| | | | | Fixes gh-3073 | ||||
* | Offset: Resolve strict mode ClientRect "no setter" exception | Richard Gibson | 2016-04-23 | 1 | -2/+4 |
| | |||||
* | Docs: Update support comments to follow the new syntax | Michał Gołębiowski | 2016-03-30 | 1 | -1/+1 |
| | | | | | The changes follow the spec proposed in: https://github.com/jquery/contribute.jquery.org/issues/95#issuecomment-69379197 | ||||
* | Docs: Update support comments related to IE | Michał Gołębiowski | 2016-03-30 | 1 | -1/+1 |
| | | | | All support comments were checked for Edge applicability. | ||||
* | Docs:Tests: Remove obsolete code from tests, update support comments | Michał Gołębiowski | 2016-03-08 | 1 | -2/+2 |
| | | | | | | | | | | Support comments that were lacking the final IE/Edge version that exhibits the bug were checked & updated. Links to the Chromium bug tracker were updated. Code in tests related to unsupported browsers (like Android 2.3 in non-basic tests) has been removed. Fixes gh-2868 Closes gh-2949 | ||||
* | Revert "Offset: account for scroll when calculating position" | Oleg Gaidarenko | 2016-02-09 | 1 | -5/+2 |
| | | | | | | | | | | | | This reverts commit 2d715940b9b6fdeed005cd006c8bf63951cf7fb2. This commit provoked new issues: gh-2836, gh-2828. At the meeting, we decided to revert offending commit (in all three branches - 2.2-stable, 1.12-stable and master) and tackle this issue in 3.x. Fixes gh-2828 | ||||
* | Offset: offsetLeft/Top on empty set returns undefined | Dave Methvin | 2015-11-10 | 1 | -1/+1 |
| | | | | | | Fixes gh-2319 Closes gh-2702 Ref gh-2701 | ||||
* | Build: Update jscs and lint files | Oleg Gaidarenko | 2015-09-07 | 1 | -11/+15 |
| | | | | Fixes gh-2056 | ||||
* | Core: Adjust comments & tests after dropping Safari 6 support | Michał Gołębiowski | 2015-07-27 | 1 | -1/+1 |
| | | | | | | | | Support comments that mentioned only Safari < 7 were checked & updated to account for bugs existing in newer versions as well; Safari 6 support test results were removed. Refs gh-2482 | ||||
* | Offset: return before getBoundingClientRect to avoid error in IE8-11 | Timmy Willison | 2015-06-16 | 1 | -2/+9 |
| | |||||
* | Offset: return zeros for disconnected/hidden elements | Timmy Willison | 2015-06-16 | 1 | -1/+4 |
| | | | | | Fixes gh-2310 Close gh-2396 | ||||
* | Revert "Offset: allow offset setter to throw for disconnected elements" | Timmy Willison | 2015-06-16 | 1 | -1/+1 |
| | | | | This reverts commit 0d11c1182f2012cd6eb06ce1e3fa5a495af9bee3. | ||||
* | Offset: account for scroll when calculating position | Richard McDaniel | 2015-05-12 | 1 | -2/+5 |
| | | | | | Fixes gh-1708 Close gh-1714 | ||||
* | Offset: allow offset setter to throw for disconnected elements | Timmy Willison | 2015-05-05 | 1 | -1/+1 |
| | | | | Fixes gh-2114 | ||||
* | Offset: remove ownerDocument check in offset getter | Timmy Willison | 2015-05-05 | 1 | -4/+5 |
| | | | | Fixes gh-2115 | ||||
* | Offset: Fix .offset() to correctly work with ShadowDOM | Arthur Stolyar | 2015-05-05 | 1 | -14/+12 |
| | | | | | Fixes gh-1784 Close gh-2043 | ||||
* | Offset: simplify jQuery#offsetParent method | Oleg Gaidarenko | 2015-01-13 | 1 | -3/+12 |
| | | | | | | | | | | | | * It seems, check for html element (and previously for body element) was redundant * Simplify "return" statement * Add comment about potential errors that didn't find themselves in real life app Closes gh-1968 | ||||
* | Build: Don't assume the browser environment; smoke test on Node w/ jsdom | Michał Gołębiowski | 2014-12-26 | 1 | -5/+5 |
| | | | | | Fixes gh-1950 Closes gh-1949 | ||||
* | Event: fix incorrect window bug with scrollTop/Left in iframes | Aditya Raghavan | 2014-12-24 | 1 | -2/+2 |
| | | | | | Fixes gh-1945 Closes gh-1959 | ||||
* | Dimensions: allow modification of coordinates argument | Oleg Gaidarenko | 2014-11-16 | 1 | -1/+3 |
| | | | | | Fixes gh-1848 Closes gh-1853 | ||||
* | Misc: Drop support for older browsers; update support comments | Michał Gołębiowski | 2014-11-03 | 1 | -5/+1 |
| | | | | | | | | That includes Opera 12.x, Firefox<29, Safari<6.0 and some hacks for old Blackberry. Closes gh-1820 Refs gh-1815 | ||||
* | Offset: Simplified a conditional | Chris Antaki | 2014-09-02 | 1 | -1/+1 |
| | |||||
* | Core: Drop strundefined variable | Chris Antaki | 2014-09-02 | 1 | -3/+2 |
| | |||||
* | Build: update grunt-jscs-checker and pass with the new rules | Timmy Willison | 2014-07-17 | 1 | -2/+4 |
| | |||||
* | Support: clean up comments and Support notation | Dave Methvin | 2014-06-10 | 1 | -6/+9 |
| | | | | Closes gh-1577 | ||||
* | Offset: Fix comment typo, thanks @AurelioDeRosa | Dave Methvin | 2013-12-18 | 1 | -1/+1 |
| | |||||
* | Fixes #14450. Remove CommonJS+AMD syntax. | Timmy Willison | 2013-10-15 | 1 | -15/+15 |
| | |||||
* | Fix some code style inconsistencies | Oleg | 2013-10-07 | 1 | -1/+1 |
| | |||||
* | No ticket: fix code style inconsistencies. Closes gh-1361 | Oleg | 2013-09-13 | 1 | -1/+1 |
| | |||||
* | The cssHook from addGetHookIf wasn't actually getting added | Timmy Willison | 2013-09-11 | 1 | -1/+1 |
| | |||||
* | No ticket. Abstract conditional hook definition. | Michał Gołębiowski | 2013-09-11 | 1 | -20/+10 |
| | |||||
* | Remove offset dependency from css. Move curCSS and getStyles to their own ↵ | Timmy Willison | 2013-09-10 | 1 | -9/+42 |
| | | | | modules. -39 bytes. Close gh-1360. | ||||
* | Separate jQuery.fn.init into its own module (for lighter core dependencies ↵ | Timmy Willison | 2013-09-09 | 1 | -0/+1 |
| | | | | across all modules) | ||||
* | Apply consistent ordering in all modules. -38 bytes. Order modules like ↵ | Timmy Willison | 2013-09-09 | 1 | -45/+42 |
| | | | | functions > jQuery.extend > jQuery.fn.extend. | ||||
* | Break jQuery.access out into its own module to separate it from core; Adjust ↵ | Timmy Willison | 2013-09-09 | 1 | -2/+3 |
| | | | | CommonJS+AMD build support to include non-var dependencies. Convert modules with more than a few dependencies to use CJS+AMD syntax. | ||||
* | Always return jQuery in modules that can be included separately | Timmy Willison | 2013-09-08 | 1 | -0/+1 |
| | |||||
* | No ticket. Restore checking individual src/**/*.js files by jsHint. | Michał Gołębiowski | 2013-09-06 | 1 | -1/+2 |
| | |||||
* | Specify support as a dependency wherever it is used. Optimize module order ↵ | Timmy Willison | 2013-08-15 | 1 | -2/+2 |
| | | | | to save 15 bytes. |