Commit Graph

5400 Commits

Author SHA1 Message Date
Rick Waldron
8f7218198d Remove dup camelKey path
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-03-01 19:33:12 -05:00
Rick Waldron
3212a29369 Fixes #13548. .data should not miss attr() set data-* with hyphenated property names 2013-03-01 19:02:57 -05:00
Dave Methvin
9f981c84a5 Updating the source version to 2.0.0pre 2013-03-01 13:50:16 -05:00
Dave Methvin
4cbc235c0d Tagging the 2.0.0b2 release. 2013-03-01 13:50:10 -05:00
jrburke
34c4e122a3 Remove the define.amd.jQuery check, ref gh-1150. 2013-02-28 17:21:18 -05:00
Richard Gibson
3f05afbd8d Ref #13353, gh-1183: Capture onlyHandlers in jQuery.Event.isTrigger. 2013-02-28 16:59:12 -05:00
Oleg
22a4e5bd0a Squeeze support module. Close gh-1165. 2013-02-28 16:18:12 -05:00
dmitrygusev
eee2eaf1d7 Fix typos. Close gh-1186. 2013-02-28 15:45:10 -05:00
jaubourg
eebc77849c Fixes #11151, #13388. Minor refactor of response conversion and when/where
responseXXX fields are set on the jqXHR. Close gh-1164.

(Cherry-picked from 69b3d5ce0f)
2013-02-28 15:01:10 -05:00
Rick Waldron
38bc968052 Old acceptData tests refactored and adapted to support new data system 2013-02-28 14:14:40 -05:00
Dave Methvin
054c6946d4 Update docs about custom builds, including unSizzled version. 2013-02-28 13:56:52 -05:00
Dave Methvin
8be9cd1ce7 Add warnings and ignore the built Sizzle file. 2013-02-27 22:45:55 -05:00
Richard Gibson
1083f82d1e Fix #13434: native-API selector module
What's out:
* 6 KB
* attribute not equal selector
* positional selectors (:first; :eq(n); :odd; etc.)
* type selectors (:input; :checkbox; :button; etc.)
* state-based selectors (:animated; :visible; :hidden; etc.)
* :has(selector)
* custom selectors
* leading combinators (e.g., $collection.find("> *"))
* reliable functionality on XML fragments
* requiring all parts of a selector to match elements under context (e.g., $div.find("div > *") now matches children of $div)
* matching against non-elements
* reliable sorting of disconnected nodes
2013-02-27 22:45:55 -05:00
jaubourg
0618710913 Properly resets firingLength when emptying the list. Fixes #13517 2013-02-27 16:15:32 +01:00
Richard Gibson
1b6be73721 No ticket: Squeeze data 2013-02-26 23:41:57 -05:00
Nguyen Phuc Lam
8bc7bdebef Ref #13283, move .andSelf() to deprecated.js. Close gh-1170. 2013-02-26 22:57:12 -05:00
Richard Gibson
85f1985f24 Fix #13494: Fallback defineProperties to jQuery.extend. Close gh-1182.
Android<4 (ancient WebKit) doesn't have full ES5 support.
2013-02-26 22:38:06 -05:00
Scott González
b55bfb140f Whitespace. 2013-02-26 13:06:58 -05:00
Dave Methvin
2bbc3d5860 Fix #13471. $().on(".xyz"...) should avoid later crash.
If the event type is an empty string we end up hanging in .off() which makes for
mighty hard debugging. Instead treat it as a no-op. Docs seem clear this is not
allowed.
2013-02-26 12:19:09 -05:00
Timo Tijhof
31478b9012 Optimisation: Use String instead of window.String. Close gh-1176.
Follows-up 22e28b01e6.
2013-02-26 10:17:54 -05:00
Richard Gibson
6d188186d4 No ticket: move jQuery.expando to core 2013-02-25 15:48:22 -05:00
Richard Gibson
972de58990 No ticket: reduce support.js 2013-02-25 15:33:13 -05:00
Richard Gibson
6256c614fd Fix #13505: Yet another detached add patch 2013-02-24 23:24:28 -05:00
Richard Gibson
2129c233e9 No ticket: Restore support for Android<4.0 2013-02-23 21:16:28 -05:00
Richard Gibson
7d36c0fb6e Fix #13499: selector with leading ID matching only a name
(cherry picked from commit 5c4ab97a64)
2013-02-22 21:30:10 -05:00
Richard Gibson
59f5adb622 No ticket: Revise unit tests in anticipation of Sizzle-free builds 2013-02-22 20:13:36 -05:00
Richard Gibson
9338a69e30 No ticket: Reduce size in anticipation of Sizzle-free builds
(cherry picked from commit dbf3056b25)
2013-02-22 16:36:39 -05:00
Pascal Borreli
85ee87b444 Fixes typos in core.js and css.js. Closes gh-1175 2013-02-21 12:00:51 -05:00
Karl Sieburg
710962c8c0 Updated readme to have more info. Closes gh-1177 2013-02-21 11:59:13 -05:00
Rick Waldron
a464d75005 Adds module to jshintrc 2013-02-21 09:56:20 -05:00
isaacs
a128355b25 Support node-like module loaders. Closes gh-1103 2013-02-20 21:31:06 -05:00
Richard Gibson
0f977e6d03 No ticket: Update Sizzle 2013-02-17 23:12:44 -05:00
Rick Waldron
93043d002a Refactor: Data.prototype.access. Thanks to @RubyLouvre and @gibson042. Closes #1167 2013-02-13 12:14:20 -05:00
Richard Gibson
b734666f4d Fix #13265 #13332: traversing methods with text nodes. Close gh-1145. 2013-02-13 22:03:37 -05:00
Rick Waldron
1d5d959ee0 Optimized Data rewrite 2013-02-11 12:39:44 -05:00
Mark Raddatz
6a0ee2d9ed Fix #13401: replaceWith(""). Close gh-1163. 2013-02-08 09:49:14 -05:00
Richard Gibson
dc9b009c13 Fix 363299ac failures: protect Safari 5.1 from CSP 2013-02-07 23:43:21 -05:00
Richard Gibson
6971d9d8e2 Fix 363299ac failures 2013-02-07 17:03:04 -05:00
Richard Gibson
363299ac24 Ref #13316: Sync all documents on full vs. minified source. Close gh-1147. 2013-02-07 15:16:28 -05:00
Oleg
f3db084f7c Fix #13310. Get the right display value for disconnected nodes. Close gh-1156. 2013-02-04 15:22:07 -05:00
Dave Methvin
a30785a4dd Fix version; we are not at 2.0.0 yet! 2013-02-04 10:13:09 -05:00
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