Commit Graph

3002 Commits

Author SHA1 Message Date
Oleg
d0763a37c6 Fix #11823. Remove webkitConvertPointFromNodeToPage. Closes gh-796. 2012-05-27 12:37:35 -04:00
Richard Gibson
bc7231e323 Apply a GibsonTransform(-55) to the #10877 fix. Closes gh-788. 2012-05-24 21:54:04 -04:00
Mike Sherov
d5e5ce5bd0 Fix #11311. Percents not pixels for top/left/bottom/right. Closes gh-793. 2012-05-24 21:39:31 -04:00
Mike Sherov
04c06e6858 Fix #11443 fix. Safari 5.0.x, reliable margin? Riiight. Closes gh-792. 2012-05-24 21:04:50 -04:00
Corey Frang
4621a0131b Optimizations to animation queue/promise logic, closes gh-776. 2012-05-22 23:04:45 -04:00
Oleg
ae20e732f0 Fix #11755. Avoid :hidden selector for animations. Closes gh-774. 2012-05-22 22:36:55 -04:00
Jason Moon
4757881759 Fix #11796. Preserve oldIE change delegation on clone. Closes gh-789. 2012-05-22 21:29:13 -04:00
Mike Sherov
551f8510d5 Fix #11443 #11441, shut up Chrome 19 and Safari 5.0.x. Closes gh-790.
checkClone and appendChecked test failures in Chrome 19; reliableMarginRight failures in Safari 5.
2012-05-22 10:11:47 -04:00
Mike Sherov
e0151e5827 Fix #10877. Make outerWidth/Height a setter. Closes gh-783. 2012-05-21 13:44:19 -04:00
Jason Moon
e93f2a89e2 Fix #11649. Preserve oldIE submit flag when cloning, closes gh-772. 2012-05-18 16:34:30 -04:00
Corey Frang
6bf3f20d4e Fix #7157. Animation callbacks shouldn't see an element as :animated.
Unless of course, there are other animations to be done! Closes gh-775.
2012-05-18 13:48:24 -04:00
Mike Sherov
0a2f93e6df Inline the boxModel test, and correct unit test. Closes gh-781. 2012-05-18 12:59:31 -04:00
jaubourg
d55a764e6e When IE6 & IE7 serve from the cache in async mode, resolves the request asynchronously. Fixes #11778. 2012-05-16 23:43:16 +02:00
Mike Sherov
c4e22ad8b5 Fix #11721. Remove jQuery.boxModel, deprecate jQuery.support.boxModel.
This removes all internal uses of `jQuery.support.boxModel`. jQuery has never run unit tests with Quirks Mode and has not even feigned support for several years, so these remnants weren't doing much except giving false hope.

For now, `jQuery.support.boxModel` continues to have a value indicating whether the W3C box model is *generally* in use, but be aware that this is easily overridden on an element-by-element basis by the `box-model` CSS property. So don't trust this value.
2012-05-15 23:29:20 -04:00
Dave Methvin
f76518e393 Rename .andSelf to .addBack, deprecate .andSelf #9800 2012-05-15 23:14:13 -04:00
Matt Farmer
ca48d49040 Fix #6724, though the Mobile Safari wound remains. Closes gh-764. 2012-05-14 14:22:51 -04:00
jaubourg
7778c77222 Fixes #10285 (for real this time). 2012-05-12 23:26:39 +02:00
jaubourg
f93a2f569d Preserves context objects when multiple Deferreds are passed to $.when(). Context is an array containing the original contexts in order. When non-observable value is given, associated context is undefined. In case only a single non-observable value is given, context is the global object (thanks so much Function.prototype.apply!). Fixes #11749. 2012-05-12 21:41:39 +02:00
Dave Methvin
b6581df5de Fix #11621, $(document).trigger() must bubble to window. 2012-05-12 14:23:50 -04:00
Richard Gibson
afb34fe227 Scalarize [value, easing] before css-expanding; closes gh-750. 2012-05-11 16:22:00 -04:00
Dave Methvin
56d5c1c3a3 Fix #11738. Remove deprecated .closest(Array) => Array. 2012-05-11 15:11:13 -04:00
Dave Methvin
c5fda2945c Fix #11736. Remove deprecated Deferred.isResolved/isRejected. 2012-05-11 15:02:18 -04:00
Rick Waldron
38fe2deab5 Use a do-while statement to reduce redundant code
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-05-07 16:49:23 -04:00
Rick Waldron
b26c34a69f Fixes lint issues.
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-05-07 16:45:22 -04:00
Rick Waldron
df254d47e4 Additional reduction per @Raynos suggestion. Thanks!
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-05-07 16:38:55 -04:00
Rick Waldron
2af3642cd5 Further reduce historical cruft. Removes the untested and unnec. jQuery.nth()
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-05-07 16:05:05 -04:00
Rick Waldron
fbee36be16 Merge branch 'bug11720-nth-argument' of https://github.com/sindresorhus/jquery into 1.8pre
* 'bug11720-nth-argument' of https://github.com/sindresorhus/jquery:
  Remove unnecessary arguments from .nth(). Fixes #11720
2012-05-07 15:50:04 -04:00
Sindre Sorhus
4de7b5412e Remove unnecessary arguments from .nth(). Fixes #11720
Also use postfix increment to make it a little clearer.
2012-05-07 19:59:11 +02:00
jaubourg
03e0029761 @mikesherov said: no need for an else if! 2012-05-07 19:14:00 +02:00
Scott González
95a4a776cf Simplify jQuery( html, props ), closes gh-765. 2012-05-06 21:24:46 -04:00
jaubourg
a743be19bd Fixes #11402. domManip now also removes the closing part of HTML comments or CDATA surrounding executed scripts. Unit tests added. 2012-05-06 01:27:01 +02:00
jaubourg
e3cf0e220c Transform $.bindReady into $.ready.promise. It is now possible to use $.ready.promise or $.when( $.ready ) to get the ready promise. Costs *1* byte min/gzipped. Unit test added. 2012-05-06 01:05:03 +02:00
Mike Sherov
714b8ffd2b reduce complexity of ready further, and try manipulating DOM to make sure we're really ready 2012-05-04 13:31:35 -04:00
Mike Sherov
f925c7a1c9 remove jQuery.quickReady, save bytes, style nits in tests 2012-05-04 10:17:30 -04:00
Oleg
bab6f5355c -8 bytes 2012-05-04 00:18:08 +04:00
jaubourg
9cb1ab436d Fixes the parameters given to load callback when the request errors. 2012-05-02 02:29:12 +02:00
Oleg
95291b44e6 jQuery.fn.load optimization 2012-05-01 14:47:14 -04:00
Oleg
6bed348a00 jQuery.ajaxSetup() data is merged with params. Fixes #10524 2012-05-01 14:39:45 -04:00
jaubourg
a1e3122706 Gains 1 more byte min/gz and reminds that isResolved and isRejected are deprecated in the comments. 2012-04-28 23:06:48 +02:00
jaubourg
13f4f5adc2 Merge branch '1.8-deferred-optimize2' of git://github.com/gibson042/jquery into PR754 2012-04-28 22:57:32 +02:00
jaubourg
5fc8d9e454 Simplifies the way the internal memory storage is handled. 2012-04-28 22:54:13 +02:00
jaubourg
6ad53c33d8 Opera announced they will start supporting the -webkit- prefix for a selected set of css properties. Let's put the inspection of -webkit- prefix properties as the last one in case this propagates to the style object and/or other browsers (the cssPrefixes array is inspected from right to left). 2012-04-28 16:52:32 +02:00
Richard Gibson
a25721a2cd code compression 2012-04-26 16:08:17 -04:00
jaubourg
6e066a4db7 Trims down deferred.js. The gist of it is from the magnificent @gibson042, I just added some minor touches. 2012-04-25 18:25:52 +02:00
jaubourg
87c83b0458 Callbacks.add now accepts array-like objects (like Arguments). Now uses the slice method of the args array in fireWith rather than a quite slow jQuery.merge. 2012-04-25 18:25:51 +02:00
jaubourg
42dbc86573 Use real declaration since that helps gzip: thanks @gibson042. 2012-04-25 17:15:48 +02:00
jaubourg
245f5a244e Regression: makes sure that all instances of a callback are removed. Unit test added. 2012-04-25 16:08:38 +02:00
jaubourg
97210d4e70 How about we save 62 bytes? Also ensure that the arguments array given to fireWith is copied internally. 2012-04-25 15:50:26 +02:00
jaubourg
f30744354f Since we can pass an object to jQuery.Callbacks now, let's name it options to be consistent with the rest of the code. 2012-04-25 02:16:37 +02:00
jaubourg
ad329384ff Uses a copy of the flags when they are given as an object rather than the object itself. That way, we're sure flags are immutable for the entire lifetime of the Callbacks instance. 2012-04-25 02:06:21 +02:00