aboutsummaryrefslogtreecommitdiffstats
path: root/src/callbacks.js
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Callbacks: Don't abort execution on .lock()"Oleg Gaidarenko2015-12-221-3/+3
| | | | This reverts commit fc7477f4927100f23f83c22b5142a42d1eac8502.
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-071-7/+15
| | | | | Ref 10fdad742a2a6aa9f0e00b3e04fc5264797c53c7 Fixes gh-2056
* Callbacks: Reduce sizeRichard Gibson2015-01-101-82/+74
|
* Callbacks: Don't abort execution on .lock()Richard Gibson2015-01-101-1/+1
| | | | | Fixes gh-1990 Closes gh-1991
* Callbacks: No object starts out lockedRichard Gibson2015-01-101-6/+29
| | | | Fixes gh-1989
* Callbacks: Disabling a callback should prevent firingDave Methvin2014-12-071-2/+4
| | | | | | | | Thanks to @TheDistantSea for the report! Fixes gh-1790 Closes gh-1643 (cherry picked from commit bc1cb122db30be034b3da84ee2546c86e2a5268f)
* Build: update grunt-jscs-checker and pass with the new rulesTimmy Willison2014-07-171-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: build/tasks/build.js src/ajax/xhr.js src/attributes/classes.js src/attributes/prop.js src/attributes/val.js src/core/init.js src/core/ready.js src/css.js src/css/curCSS.js src/css/defaultDisplay.js src/data.js src/data/var/dataPriv.js src/data/var/dataUser.js src/dimensions.js src/effects.js src/event.js src/manipulation.js src/offset.js src/queue.js src/selector-native.js test/data/testrunner.js
* Fix some code style inconsistenciesOleg2013-11-071-1/+1
|
* Always return jQuery in modules that can be included separatelyTimmy Willison2013-09-081-0/+1
| | | | | | | Conflicts: src/attributes.js src/data.js src/manipulation.js
* AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.Timmy Willison2013-08-151-1/+8
| | | | | | | | | | | | | | | | | | | | Conflicts: Gruntfile.js README.md src/ajax.js src/ajax/xhr.js src/attributes.js src/core.js src/css.js src/data.js src/effects.js src/event.js src/manipulation.js src/offset.js src/selector-native.js src/traversing.js test/unit/core.js test/unit/data.js
* Moved too-early assignment inside the if stmt where the var is actually ↵terrycojones2013-06-191-2/+2
| | | | | | used. Close gh-1292. (cherry picked from commit 3a434434c420096cef478936ea21b33e9cfae30c)
* Properly resets firingLength when emptying the list. Fixes #13517jaubourg2013-02-271-0/+1
|
* Fix #13355. Tweak Uglify options and var order for gzip. Close gh-1151.Oleg2013-01-311-4/+4
| | | | | Change uglify-js options for compressor Change variables initialization sequence for some declarations
* Change variables initialization sequence for some declarationsOleg2013-01-311-5/+5
|
* Fix #13150, .has() w/o args checks for any callbacks. Close gh-1111.adamcoulombe2013-01-271-2/+3
|
* Fix #12959: Optimize library-wide patternsRichard Gibson2012-11-271-1/+1
|
* Do not iterate over functions. Fixes #12665. Unit tests added. Thanks to ↵jaubourg2012-10-061-2/+4
| | | | @kselden for finding the bug.
* Makes sure "adding" a string to a Callbacks object doesn't cause a stack ↵jaubourg2012-08-161-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 Sherov2012-07-091-5/+5
|
* Interim take on cross-module variables, closes gh-817.Richard Gibson2012-06-151-1/+1
|
* Strips IIFEs from modules; Always require built jQuery for tests.Rick Waldron2012-06-041-4/+0
|
* Simplifies the way the internal memory storage is handled.jaubourg2012-04-281-9/+8
|
* Callbacks.add now accepts array-like objects (like Arguments). Now uses the ↵jaubourg2012-04-251-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.jaubourg2012-04-251-3/+5
|
* Regression: makes sure that all instances of a callback are removed. Unit ↵jaubourg2012-04-251-2/+2
| | | | test added.
* How about we save 62 bytes? Also ensure that the arguments array given to ↵jaubourg2012-04-251-78/+42
| | | | fireWith is copied internally.
* Since we can pass an object to jQuery.Callbacks now, let's name it options ↵jaubourg2012-04-251-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 ↵jaubourg2012-04-251-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 ↵jaubourg2012-04-021-2/+2
| | | | tests added.
* Fixes #10952 by introducing a real fired flag in the Callbacks closure.jaubourg2012-01-311-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.jaubourg2011-09-211-40/+9
|
* $.Callbacks, $.Topic and notify/progress on $.Deferred.jaubourg2011-09-191-0/+257