Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Core: Migrate from AMD to ES modules 🎉 | Michał Gołębiowski-Owczarek | 2019-11-18 | 1 | -17/+12 |
| | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Selector: Inline Sizzle into the selector module | Michał Gołębiowski-Owczarek | 2019-07-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | This commit removes Sizzle from jQuery, inlining its code & removing obsolete workarounds where applicable. The selector-native module has been removed. Further work on the selector module may decrease the size enough that it will no longer be necessary. If it turns out it's still useful, we'll reinstate it but the code will look different anyway as we'll want to share as much code as possible with the existing selector module. The Sizzle AUTHORS.txt file has been merged with the jQuery one - people are sorted by their first contributions to either of the two repositories. The commit reduces the gzipped jQuery size by 1460 bytes compared to master. Closes gh-4395 | ||||
* | Build: ESLint: forbid unused function parameters | Michał Gołębiowski-Owczarek | 2019-05-13 | 1 | -3/+3 |
| | | | | | | | | | | | | | 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 | ||||
* | Traversing: Fix `contents()` on `<object>`s with children in IE | Michał Gołębiowski-Owczarek | 2019-05-08 | 1 | -2/+9 |
| | | | | | | | | | The original fix didn't account for the fact that in IE `<object>` elements with no `data` attribute have an object `contentDocument`. The fix leverages the fact that this special object has a null prototype. Closes gh-4390 Ref gh-4384 Ref gh-4385 | ||||
* | Traversing: Fix `contents()` on `<object>`s with children | Pat O'Callaghan | 2019-05-06 | 1 | -1/+1 |
| | | | | Fixes gh-4384 Closes gh-4385 | ||||
* | Core: Drop support for IE <11, iOS <11, Firefox <65, Android Browser & PhantomJS | Michał Gołębiowski-Owczarek | 2019-04-29 | 1 | -1/+1 |
| | | | | | | | | | | | 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 | ||||
* | Traversing: $.fn.contents() support for object | Luis Emilio Velasco Sanchez | 2018-05-14 | 1 | -12/+12 |
| | | | | | Fixes gh-4045 Closes gh-4046 | ||||
* | Build: fix tests in AMD mode | Timmy Willison | 2017-03-06 | 1 | -1/+2 |
| | | | | - nodeName was included at the wrong spot in dependency lists | ||||
* | Core: Deprecate jQuery.nodeName | karan-96 | 2017-03-01 | 1 | -3/+4 |
| | | | | | Fixes gh-3475 Closes gh-3505 | ||||
* | Traversing: $.fn.contents() supports HTMLTemplateElement | 南漂一卒 | 2017-01-29 | 1 | -1/+12 |
| | | | | | Fixes gh-3436 Closes gh-3462 | ||||
* | Build: Put all AMD modules in "src/" in strict mode | Michał Gołębiowski | 2016-04-25 | 1 | -0/+2 |
| | | | | Fixes gh-3073 | ||||
* | Traversing: Never let .closest() match positional selectors | Richard Gibson | 2016-01-13 | 1 | -13/+14 |
| | | | | | Fixes gh-2796 Close gh-2818 | ||||
* | Traversing: Don't expose jQuery.dir & jQuery.sibling | Michał Gołębiowski | 2015-09-08 | 1 | -38/+11 |
| | | | | | | | | jQuery.dir & jQuery.sibling are undocumented internal APIs; they shouldn't be exposed. Fixes gh-2512 Closes gh-2525 | ||||
* | Build: Update jscs and lint files | Oleg Gaidarenko | 2015-09-07 | 1 | -18/+21 |
| | | | | Fixes gh-2056 | ||||
* | Selector: add jQuery.uniqueSort; deprecate jQuery.unique | Timmy Willison | 2015-05-04 | 1 | -3/+3 |
| | | | | Fixes gh-2228 | ||||
* | Support: clean up comments and Support notation | Dave Methvin | 2014-06-10 | 1 | -4/+3 |
| | | | | Closes gh-1577 | ||||
* | traversing: Optimise .add by not using makeArray | Timo Tijhof | 2013-12-30 | 1 | -6/+5 |
| | | | | Closes gh-1430 | ||||
* | Fix #14190: Remove unnecessary assignment in .closest. Close gh-1411. | Marian Sollmann | 2013-11-06 | 1 | -2/+2 |
| | | | | | | | | (cherry picked from commit 346b031af9e3b315ef351a9cc7fee56f930cf346) Conflicts: src/traversing.js | ||||
* | Separate jQuery.fn.init into its own module (for lighter core dependencies ↵ | Timmy Willison | 2013-09-09 | 1 | -95/+5 |
| | | | | across all modules) | ||||
* | Apply consistent ordering in all modules. -38 bytes. Order modules like ↵ | Timmy Willison | 2013-09-09 | 1 | -74/+73 |
| | | | | 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 | -0/+1 |
| | | | | 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/+2 |
| | |||||
* | AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163. | Timmy Willison | 2013-08-15 | 1 | -3/+9 |
| | |||||
* | Simplification of jQuery#contents method | Oleg | 2013-05-27 | 1 | -3/+1 |
| | |||||
* | Fix #13846: .prev sort direction | Richard Gibson | 2013-05-01 | 1 | -2/+3 |
| | |||||
* | Fix #13819: .parent sort direction | Richard Gibson | 2013-04-24 | 1 | -1/+1 |
| | | | | (cherry picked from commit 6a816ec95fd96d130a4af67a28873d9daa66a328) | ||||
* | Fix #13797: .is with single-node context | Richard Gibson | 2013-04-20 | 1 | -8/+10 |
| | | | | (cherry picked from commit 4f786ba4d2a5544cb48f589d2659d6cab84efc34) | ||||
* | No ticket: Reduce .find | Richard Gibson | 2013-04-20 | 1 | -10/+10 |
| | | | | (cherry picked from commit 85b3c82445d9e88c6e747a33ad97f5f9e35a7d35) | ||||
* | Fix #13539: Utilize Sizzle hooks. Close gh-1215. | Richard Gibson | 2013-04-05 | 1 | -31/+26 |
| | | | | (cherry picked from commit 4ef516903e6e48bce388ca47c1ed88a447199fa1) | ||||
* | Remove an unused support check, correct a comment. Close gh-1211. | Michał Gołębiowski | 2013-04-03 | 1 | -1/+1 |
| | |||||
* | Ref #13283, move .andSelf() to deprecated.js. Close gh-1170. | Nguyen Phuc Lam | 2013-02-26 | 1 | -2/+0 |
| | |||||
* | Fix #13265 #13332: traversing methods with text nodes. Close gh-1145. | Richard Gibson | 2013-02-13 | 1 | -24/+35 |
| | |||||
* | Fix #13349. No need to sort simple .find() cases. | Dave Methvin | 2013-01-29 | 1 | -1/+1 |
| | |||||
* | Code style | Oleg | 2012-12-19 | 1 | -1/+2 |
| | |||||
* | Reduce traversing module | Oleg | 2012-12-19 | 1 | -71/+74 |
| | |||||
* | Ref #13019 and gh-1062. Use parentNode check instead of isDisconnected(). | Dave Methvin | 2012-12-09 | 1 | -6/+0 |
| | |||||
* | Must attach the .selector to the new jQuery object. | Dave Methvin | 2012-11-01 | 1 | -1/+2 |
| | |||||
* | Follow-up for .selector property removal | Oleg | 2012-11-01 | 1 | -5/+2 |
| | |||||
* | Fix #12816. Ensure .find() result are DOM ordered. | Dave Methvin | 2012-10-31 | 1 | -30/+10 |
| | |||||
* | Fix #12009. $().find( DOMElement ) should pushStack properly. Close gh-927. | Mike Sherov | 2012-10-30 | 1 | -17/+24 |
| | |||||
* | Fix #9469. Remove semi-functional .selector property. Close gh-1006. | Dave Methvin | 2012-10-24 | 1 | -5/+7 |
| | | | | Saved 65 bytes. | ||||
* | no ticket: remove and enforce unused vars in jshint | Mike Sherov | 2012-10-17 | 1 | -2/+2 |
| | |||||
* | Update Sizzle: allows disconnected sorting. Change add to always sort with ↵ | Timmy Willison | 2012-10-16 | 1 | -3/+1 |
| | | | | added nodes, even when disconnected. | ||||
* | Return correct index for no-arg index() calls. Fixes #10977. Closes gh-971 | MORGAN | 2012-10-16 | 1 | -1/+1 |
| | |||||
* | Fix a regression where has with multiple contexts was not filtering ↵ | Timmy Willison | 2012-07-27 | 1 | -3/+3 |
| | | | | correctly. Test added. | ||||
* | Remove unnecessary else | Timmy Willison | 2012-07-25 | 1 | -3/+1 |
| | |||||
* | Fail silently if closest is somehow called on a document. Fixes #10726. | Timmy Willison | 2012-07-25 | 1 | -4/+1 |
| | |||||
* | Support event delegation with relative selectors. Fixes #10762. Closes gh-860. | Richard Gibson | 2012-07-23 | 1 | -4/+4 |
| | |||||
* | Follow the style guide, lose 72 bytes! Closes gh-840. | Mike Sherov | 2012-07-09 | 1 | -10/+14 |
| | |||||
* | Optimization of array operations, closes gh-844. | Oleg | 2012-07-06 | 1 | -1/+1 |
| |