Commit Graph

4317 Commits

Author SHA1 Message Date
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
Jörn Zaefferer
fe88534b29 Grunt: Add qunit target. Currently finishes with 33/5510 assertions failing. If that can be made to pass, it should be added to the default task 2012-05-09 09:34:12 +02: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
Timo Tijhof
0add0b30db grunt.js testswarm task: shorten job name 2012-05-07 19:43:43 +02:00
jaubourg
03e0029761 @mikesherov said: no need for an else if! 2012-05-07 19:14:00 +02:00
Jörn Zaefferer
169b4185bc Grunt: Fix testswarm username 2012-05-07 12:13:08 +02:00
Jörn Zaefferer
bd84aad6cd Grunt: Add testswarm task 2012-05-07 12:06:12 +02:00
Timo Tijhof
443ea98ba0 Update qunit submodule from 1.3.0pre to 1.6.0pre, close gh-761
- See also: https://github.com/jquery/qunit/blob/master/History.md
2012-05-06 21:40:05 -04: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
jaubourg
d3e034f6c7 Adds unit test to show order of parameters in the load callback are off for errors since the rewrite (this test works in master). 2012-05-02 02:22:56 +02:00
jaubourg
ae6b14abaf Makes test message more meaningful. 2012-05-02 02:15:09 +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
dc3c983be0 Gandalf the Grey says you shall not leak globals, even in the depths of Unit Tests. So fly, you fools! 2012-04-30 03:04:45 +02: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
Mike Sherov
6fbb4b4339 Update dimensions unit tests from changes in #11604 2012-04-27 11:22:01 -04: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
Rick Waldron waldron.rick@gmail.com
8cc217eac3 Add resource by @mikesherov to gruntfile 2012-04-25 11:18:15 -04: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
d17a7f04d4 Adds a unit test to control options are being copied by jQuery.Callbacks internally. 2012-04-25 02:13:26 +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
Mike Sherov
54fab3174c Fix #10067. Create jQuery.quickReady; closes gh-736.
Allows us to get to the ready state sooner by not waiting for iframes to load. If that causes backcompat pain, use `jQuery.quickReady = false` as prescribed by your developer.
2012-04-23 15:44:27 -04:00
Corey Frang
58ed62ed12 Effects: 1.8 Animation Rewrite - thanks @mikesherov and @gibson042 2012-04-23 15:05:12 -04:00
jaubourg
8ad22a2b15 Prevents tests for replaceInData to take place if replaceInUrl is already true. 2012-04-23 00:07:15 +02:00
jaubourg
8e7aaa7fd0 Merge branch '1.8-jsonp-optimize' of git://github.com/gibson042/jquery into pr749 2012-04-22 23:55:34 +02:00
jaubourg
78583d0cd9 Fixes a minor spacing issue. 2012-04-22 23:49:16 +02:00
Richard Gibson
180a997da5 remove redundant condition 2012-04-22 14:53:36 -04:00
Richard Gibson
2d1247a413 style adherence 2012-04-22 11:40:02 -04:00
Richard Gibson
b0ea80e9fd refactor jsonp.js for size and clarity 2012-04-22 11:36:44 -04:00