Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Core: Use named exports in `src/` | Michał Gołębiowski-Owczarek | 2023-09-12 | 1 | -4/+4 |
| | | | | | | | | | The `default` export is treated differently across tooling when transpiled to CommonJS - tools differ on whether `module.exports` represents the full module object or just its default export. Switch `src/` modules to named exports for tooling consistency. Fixes gh-5262 Closes gh-5292 | ||||
* | Core: Migrate from AMD to ES modules 🎉 | Michał Gołębiowski-Owczarek | 2019-11-18 | 1 | -9/+4 |
| | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Core: Drop support for IE <11, iOS <11, Firefox <65, Android Browser & PhantomJS | Michał Gołębiowski-Owczarek | 2019-04-29 | 1 | -3/+2 |
| | | | | | | | | | | | 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.type | Jason Bedard | 2018-01-16 | 1 | -2/+3 |
| | | | | | Fixes gh-3605 Close gh-3895 | ||||
* | Core: deprecate jQuery.isFunction | Jason Bedard | 2018-01-15 | 1 | -2/+3 |
| | | | | Fixes gh-3609 | ||||
* | Callbacks: Prevent add() from unlocking with-memory lists | Richard Gibson | 2017-01-09 | 1 | -1/+1 |
| | | | | Fixes gh-3469 Closes gh-3470 | ||||
* | Core: rnotwhite -> rhtmlnotwhite and jQuery.trim -> stripAndCollapse | Timmy Willison | 2016-09-15 | 1 | -3/+3 |
| | | | | | | | | | | | | - 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 | ||||
* | Build: Put all AMD modules in "src/" in strict mode | Michał Gołębiowski | 2016-04-25 | 1 | -0/+2 |
| | | | | Fixes gh-3073 | ||||
* | Build: Update jscs and lint files | Oleg Gaidarenko | 2015-09-07 | 1 | -7/+15 |
| | | | | Fixes gh-2056 | ||||
* | Callbacks: Reduce size | Richard Gibson | 2015-01-10 | 1 | -82/+74 |
| | | | | (cherry picked from commit 18baae2efb36a6c759c0dddac7d25da9c554dff7) | ||||
* | Callbacks: Don't abort execution on .lock() | Richard Gibson | 2015-01-10 | 1 | -1/+1 |
| | | | | | | | Fixes gh-1990 Closes gh-1991 (cherry picked from commit fc7477f4927100f23f83c22b5142a42d1eac8502) | ||||
* | Callbacks: No object starts out locked | Richard Gibson | 2015-01-10 | 1 | -11/+34 |
| | | | | | | Fixes gh-1989 (cherry picked from commit f5a8c649b54e8b7fde6253bd56972347f9bbe012) | ||||
* | Callbacks: Disabling a callback should prevent firing | Dave Methvin | 2014-12-07 | 1 | -2/+4 |
| | | | | | | | Thanks to @TheDistantSea for the report! Fixes gh-1790 Closes gh-1643 | ||||
* | Build: update grunt-jscs-checker and pass with the new rules | Timmy Willison | 2014-07-17 | 1 | -1/+3 |
| | |||||
* | No ticket: fix code style inconsistencies. Closes gh-1361 | Oleg | 2013-09-13 | 1 | -1/+1 |
| | |||||
* | Always return jQuery in modules that can be included separately | Timmy Willison | 2013-09-08 | 1 | -0/+1 |
| | |||||
* | AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163. | Timmy Willison | 2013-08-15 | 1 | -1/+8 |
| | |||||
* | Moved too-early assignment inside the if stmt where the var is actually ↵ | terrycojones | 2013-06-19 | 1 | -2/+2 |
| | | | | used. Close gh-1292. | ||||
* | Properly resets firingLength when emptying the list. Fixes #13517 | jaubourg | 2013-02-27 | 1 | -0/+1 |
| | |||||
* | Fix #13150, .has() w/o args checks for any callbacks. Close gh-1111. | adamcoulombe | 2013-01-27 | 1 | -2/+3 |
| | |||||
* | Fix #12959: Optimize library-wide patterns | Richard Gibson | 2012-11-27 | 1 | -1/+1 |
| | |||||
* | Do not iterate over functions. Fixes #12665. Unit tests added. Thanks to ↵ | jaubourg | 2012-10-06 | 1 | -2/+4 |
| | | | | @kselden for finding the bug. | ||||
* | Makes sure "adding" a string to a Callbacks object doesn't cause a stack ↵ | jaubourg | 2012-08-16 | 1 | -2/+3 |
| | | | | overflow, just ignore the value like 1.7.x righfully did. Fixes #12233. Unit tests added. | ||||
* | Follow the style guide, lose 72 bytes! Closes gh-840. | Mike Sherov | 2012-07-09 | 1 | -5/+5 |
| | |||||
* | Interim take on cross-module variables, closes gh-817. | Richard Gibson | 2012-06-15 | 1 | -1/+1 |
| | |||||
* | Strips IIFEs from modules; Always require built jQuery for tests. | Rick Waldron | 2012-06-04 | 1 | -4/+0 |
| | |||||
* | Simplifies the way the internal memory storage is handled. | jaubourg | 2012-04-28 | 1 | -9/+8 |
| | |||||
* | Callbacks.add now accepts array-like objects (like Arguments). Now uses the ↵ | jaubourg | 2012-04-25 | 1 | -6/+6 |
| | | | | slice method of the args array in fireWith rather than a quite slow jQuery.merge. | ||||
* | Use real declaration since that helps gzip: thanks @gibson042. | jaubourg | 2012-04-25 | 1 | -3/+5 |
| | |||||
* | Regression: makes sure that all instances of a callback are removed. Unit ↵ | jaubourg | 2012-04-25 | 1 | -2/+2 |
| | | | | test added. | ||||
* | How about we save 62 bytes? Also ensure that the arguments array given to ↵ | jaubourg | 2012-04-25 | 1 | -78/+42 |
| | | | | fireWith is copied internally. | ||||
* | Since we can pass an object to jQuery.Callbacks now, let's name it options ↵ | jaubourg | 2012-04-25 | 1 | -21/+23 |
| | | | | to be consistent with the rest of the code. | ||||
* | Uses a copy of the flags when they are given as an object rather than the ↵ | jaubourg | 2012-04-25 | 1 | -1/+1 |
| | | | | object itself. That way, we're sure flags are immutable for the entire lifetime of the Callbacks instance. | ||||
* | Allows traditional options object for $.Callbacks flags. Fixes #11011. Unit ↵ | jaubourg | 2012-04-02 | 1 | -2/+2 |
| | | | | tests added. | ||||
* | Fixes #10952 by introducing a real fired flag in the Callbacks closure. | jaubourg | 2012-01-31 | 1 | -1/+4 |
| | | | | | | | jQuery Size - compared to last make 250235 (+69) jquery.js 94225 (+7) jquery.min.js 33445 (+3) jquery.min.js.gz | ||||
* | Trimmed down $.Callbacks and $.Deferred. | jaubourg | 2011-09-21 | 1 | -40/+9 |
| | |||||
* | $.Callbacks, $.Topic and notify/progress on $.Deferred. | jaubourg | 2011-09-19 | 1 | -0/+257 |