aboutsummaryrefslogtreecommitdiffstats
path: root/src/queue.js
Commit message (Collapse)AuthorAgeFilesLines
* Data: Refactor to reduce sizeRichard Gibson2024-01-221-2/+2
| | | | | | * Return the new value from `set(owner, key, value)`. * Use `set(owner, key, value)` rather than `access(owner, key, value)`. Close gh-5392
* Core: Use named exports in `src/`Michał Gołębiowski-Owczarek2023-09-121-3/+3
| | | | | | | | | 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-Owczarek2019-11-181-9/+5
| | | | | | | | | | | | | | | | | | | | | | 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: Deprecate jQuery.isArrayManoj Kumar2016-11-301-1/+1
| | | | | Fixes gh-2961 Closes gh-3278
* Build: Put all AMD modules in "src/" in strict modeMichał Gołębiowski2016-04-251-0/+2
| | | | Fixes gh-3073
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-071-16/+17
| | | | Fixes gh-2056
* Build: update grunt-jscs-checker and pass with the new rulesTimmy Willison2014-07-171-7/+7
|
* Support: clean up comments and Support notationDave Methvin2014-06-101-3/+3
| | | | Closes gh-1577
* No ticket: fix code style inconsistencies. Closes gh-1361Oleg2013-09-131-1/+1
|
* Always return jQuery in modules that can be included separatelyTimmy Willison2013-09-081-0/+1
|
* AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.Timmy Willison2013-08-151-13/+9
|
* Fix #13937: Correctly scope .finish() following multi-element .animate(). ↵Richard Gibson2013-05-281-1/+0
| | | | | | Thanks @gnarf37. Close gh-1279. (cherry picked from commit ae9e05e9f3cb071232b056005755acb5926e403e)
* No ticket. Use data_priv methods instead of jQuery._removeData and ↵Oleg Gaidarenko2013-04-081-7/+6
| | | | jQuery._data; Remove needless, internal second argument of jQuery.cleanData. Closes gh-1234
* Fix #13103. Add .finish() method. Close gh-1118.Corey Frang2013-01-081-0/+1
|
* Create private methods for processing data/removeData requests. Fixes ↵carldanley2012-10-161-2/+2
| | | | #12519, Closes gh-976
* Fix #12278. Promises on non-default queue wait until a dequeue is attempted ↵Corey Frang2012-08-191-2/+6
| | | | on an empty queue. Close gh-893.
* stop using reserved words as argument namesMike Sherov2012-06-281-3/+3
|
* Strips IIFEs from modules; Always require built jQuery for tests.Rick Waldron2012-06-041-4/+0
|
* Optimizations to animation queue/promise logic, closes gh-776.Corey Frang2012-05-221-80/+45
|
* Fix #10967: jQuery.fn.promise returns provided objectRichard Gibson2012-02-131-1/+1
|
* Fix #5571. Setters should treat `undefined` as a no-op and be chainable.Richard Gibson2011-12-061-7/+13
|
* Renaming 'runner' to 'hooks' - makes it a little more obvious whats happeningCorey Frang2011-10-311-5/+5
|
* Cleanup spacing in queue.js. Fixes #10601Rick Waldron2011-10-271-2/+2
|
* Landing pull request 514. 1.7 - queue refactoring to handle delay stop - ↵Corey Frang2011-09-281-10/+12
| | | | | | | | Fixes #6150. More Details: - https://github.com/jquery/jquery/pull/514 - http://bugs.jquery.com/ticket/6150
* $.Callbacks, $.Topic and notify/progress on $.Deferred.jaubourg2011-09-191-3/+3
|
* Animation state is tracked on toggled/stopped animations using the private ↵timmywil2011-09-191-14/+15
| | | | | | | | | | | | data cache. Fixes #8685. See full commit message for more. Fixes #6641. - Example: http://jsfiddle.net/timmywil/gqZL5/24/ - http://bugs.jquery.com/ticket/8685 - Check the completed timer has not been removed already so other timers do not get accidentally removed. Fixes #6641. - Style edits, code reductions, and optimizations for the effects module
* tmp was global in the new fn.promise. Fixes #9147.timmywil2011-05-061-1/+2
|
* Bug fixes in queue.js: type in dequeue could be undefined which lead to a ↵jaubourg2011-04-121-12/+7
| | | | wrong data key, which would then have undesirable data left dangling on elements. Also adds missing semicolon in effects unit.
* Adds _mark and _unmark as a mean to keep track of ongoing non-queued ↵jaubourg2011-04-111-29/+63
| | | | animations in fn.promise.
* Adds fn.promise as a mean to observe the completion of animations on a set ↵jaubourg2011-04-071-1/+44
| | | | of elements. Only queued animations are handled for now, non-queued animations support coming soon. Effects unit tests updated to test the feature (needs more testing though).
* Fix jQuery.queue leaks empty queues.Colin Snover2011-01-091-0/+4
|
* Change the way jQuery.data works so that there is no longer a chance of ↵Colin Snover2011-01-091-2/+2
| | | | collision between user data and internal data. Fixes #6968.
* Make sure that when multiple variables are being declared that assignments ↵John Resig2010-11-091-1/+2
| | | | are each done on their own line.
* Removing extra arg.jeresig2010-09-201-1/+1
|
* Make sure that jQuery works even when the individual modules are loaded ↵jeresig2010-09-081-0/+4
| | | | separately AND jQuery.noConflict(true) is used. Fixes #7011.
* Made a number of spacing changes to bring the code more-inline with the ↵jeresig2009-12-211-11/+23
| | | | jQuery Core Style Guideline.
* Tweaked a couple cases where == was used instead of ===.jeresig2009-12-211-2/+2
|
* Split the queue code out from data.js into a dedicated queue.js file (also ↵John Resig2009-12-061-0/+78
split tests accordingly).