Commit Graph

5209 Commits

Author SHA1 Message Date
Richard Gibson
a5b456edff Ref fd43865c: restore correct logic 2013-02-04 09:35:33 -05:00
Rick Waldron
cf260fe285 Match the codebase standard, .split(" ") => .match( core_rnotwhite ) || []… no matter how awful it is >:|
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-02-03 18:09:49 -05:00
Rick Waldron
f50680898b Standardize on a.indexOf(b) === -1, per @gibson042 review notes
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-02-03 18:04:53 -05:00
Rick Waldron
7b50c4a711 Avoid potential for breakage if test suite is run in a frame
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-02-03 17:58:07 -05:00
Rick Waldron
fd43865c6d Reduce hasData per @gibson042 review notes.
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-02-03 17:55:28 -05:00
Rick Waldron
64630eaf85 Reduce Data.prototype.add by using the returned length value of this.owners.push(owner)
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-02-03 15:31:23 -05:00
Rick Waldron
7f94a5cc3a 2.0: Rewrite data.js (Incl. event, manipulation, tests) 2013-02-03 15:27:55 -05:00
Rick Waldron
ed0e2d1e8a Adds test for jQuery.extend deep copy with array, followed by object. Refutes and Closes #1154 2013-02-03 12:52:08 -05:00
Richard Gibson
d12b26ced6 Upgrade QUnit: Welcome to the present! 2013-02-03 12:26:56 -05:00
Timmy Willison
21c7a056e2 Update Sizzle: detached node sorting in Webkit. Fixes #13331. 2013-02-01 18:06:02 -05:00
Dave Methvin
0e2977583c Fix #13335. Remove "use strict". 2013-02-01 17:17:39 -05:00
Corey Frang
115143b198 Adding @andrewplummer to AUTHORS.txt 2013-01-31 12:14:08 -06:00
Andrew Plummer
d654914fd0 event: Stricter type checking in trigger - Fixes #13360 - Closes gh-1153
Squashed commit of the following:

commit 5935a362c7
Author: Andrew Plummer <plummer.andrew@gmail.com>
Date:   Fri Feb 1 02:40:42 2013 +0900

    Using "hasOwnProperty" to check for direct properties "type" and
    "namespace" on events before triggering.
(cherry picked from commit f005af54e4)
2013-01-31 12:04:32 -06:00
Timmy Willison
d3a2ef7cfe Magic fixing for previous commit 2013-01-30 20:48:09 -05:00
Timmy Willison
f3ce0e696d Revert change to visible/hidden selectors until 1.10 and 2.1. Reopens #13132, #10406. 2013-01-30 20:37:13 -05:00
Timmy Willison
f5110cdec0 Minor updates. All parameters of an internal function are for internal use only. 2013-01-30 20:36:58 -05:00
Dave Methvin
a5c33fe1f7 Fix #13349. No need to sort simple .find() cases. 2013-01-29 20:48:48 -05:00
Dave Methvin
451d0c37d9 Fix comment about Safari shortfalls. 2013-01-29 16:56:32 -05:00
Dave Methvin
aa3c92979a Revert "Fix #13291, no longer need the functionish-regex guard."
Turns out this is still needed by Safari 5.1, which we're still supporting.

This reverts commit c4b1da4007.
2013-01-29 14:40:30 -05:00
Dave Methvin
0868699ce5 Update author list. 2013-01-27 13:53:47 -05:00
adamcoulombe
54fc5fdfa2 Fix #13150, .has() w/o args checks for any callbacks. Close gh-1111. 2013-01-27 13:35:30 -05:00
Richard Gibson
64b55f0b79 Fix #13315 for IE9: compare typeof xmlNode.method to var instead of literal "undefined" for safer uglification
(cherry picked from commit ec9b38a34f)
2013-01-27 10:04:09 -05:00
Dave Methvin
6f7b6915bf Fix #12656. Make event shorthands excludable. 2013-01-27 09:07:00 -05:00
Dave Methvin
a6c358d046 Fix #12846. Restore overflow when animation is stopped. 2013-01-26 22:02:15 -05:00
Dave Methvin
b594673a42 Choose a lovely set of matching grunt dependencies.
Stylish yet functional, this set of grunt plugins should provide hours of trouble-free operation until rc6 comes out.
2013-01-26 20:56:11 -05:00
Dave Methvin
c4b1da4007 Fix #13291, no longer need the functionish-regex guard. 2013-01-26 20:31:37 -05:00
Dave Methvin
47a6f52dc9 Fix build until next grunt rc, disable compare_size. 2013-01-26 15:05:42 -05:00
Dave Methvin
58cd84f9d5 Fix #13316. Use minified version in unit testing. 2013-01-26 10:48:10 -05:00
Richard Gibson
487b703521 Fix #13274: Wrap sourceMap directive in multiline comments. Close gh-1143.
(cherry picked from commit ac93559eb9)
2013-01-25 10:09:27 -05:00
Richard Gibson
fb0f295292 Fix #13282: QtWebKit (e.g., phantomjs) can only apply Arrays 2013-01-24 23:45:44 -05:00
Richard Gibson
f39ca223e0 Fix #13281: update Sizzle 2013-01-24 23:11:47 -05:00
byroot
bfc61b879e Don't try and convert data for 204 No Content responses. Fixes #13292. Fixes #13261. 2013-01-24 02:34:02 +01:00
Timmy Willison
caac041fcc Ignore file inputs when serializing forms. File input serialization is handled by plugins. Fixes #13306. 2013-01-23 12:23:46 -05:00
Timmy Willison
b326225d90 Fix failing tests, add support for empty spans in Opera. Supplements #13132, #10406. 2013-01-21 18:03:07 -05:00
Timmy Willison
372e04e78e Treat an element as hidden if either offsetWidth or offsetHeight is 0. Fixes #13132, #10406. 2013-01-21 17:12:31 -05:00
jaubourg
1c77259d06 Removes unnecessary call to .off() as noted by @dcherman. 2013-01-21 03:05:03 +01:00
jaubourg
4c6fb65d35 Fixes #13276. Unit test is enough since the 2.x XHR transport already dismissed the XML as parsed by the XHR instance. 2013-01-21 02:53:50 +01:00
Oleg
cbe0c2ef90 2.0: Reduce offset module. Close gh-1139. 2013-01-20 18:36:43 -05:00
Oleg
19def21df4 Fix #13232, fix jQuery.buildFragment for tables, close gh-1138. 2013-01-20 18:30:56 -05:00
Oleg
dbf4926e31 Consistently clean up after .ready() handler, close gh-1135. 2013-01-20 18:20:53 -05:00
jaubourg
1ad874f344 Further script transport cleanup, close gh-1123. 2013-01-20 18:10:07 -05:00
jaubourg
c373a499d3 Reduced script transport 2013-01-20 18:08:59 -05:00
Ryunosuke SATO
359e3f5746 Fix requirements and dependencies in README, close gh-1131. 2013-01-20 17:57:19 -05:00
Ryunosuke SATO
4488f68adf Fix broken link in CONTRIBUTING.md, close gh-1132. 2013-01-20 17:50:18 -05:00
Timmy Willison
7632711d5c Update Sizzle: fixes native slice usage 2013-01-18 10:48:39 -05:00
Richard Gibson
8871218cdf Fix jQuery #13251: use slice instead of substring
(cherry picked from commit 37eb6125c0)
2013-01-17 17:01:42 -05:00
Richard Gibson
50290b8ffb Ref cc324abf: use acceptData to determine when it is safe to add event handlers 2013-01-16 14:36:24 -05:00
danilsomsikov
cc324abf73 Fix #8335: Avoid memory leak by never setting data on non-element non-document nodes. Close gh-1127. 2013-01-16 14:31:29 -05:00
Richard Gibson
a96aa9e270 Fix #13233: re-allow .replaceWith of text nodes. Close gh-1137.
(cherry picked from commit 6b1b0a26b4)
2013-01-16 13:57:00 -05:00
Richard Gibson
306b698813 No ticket: improve replaceWith testing
(cherry picked from commit 13468abaeb)
2013-01-16 12:31:23 -05:00