Timmy Willison
1a9f8d9bb1
Fix more support tests (support.input should only be false in IE8 and checkClone as it is now used is fine in IE)
2013-09-11 17:23:17 -05:00
Timmy Willison
d092a88e85
Set the input type for firefox. Fix a support test.
2013-09-11 15:35:50 -05:00
Timmy Willison
03fdc70a2e
Correct the checkClone support test for Safari 5.1 and mobile webkits
...
Conflicts:
src/manipulation/support.js
2013-09-11 14:55:15 -05:00
Timmy Willison
7a6c635cfa
Fix support test for checkClone. Fixes Safari 5.1 manip failures.
...
Conflicts:
src/manipulation.js
2013-09-11 14:31:06 -05:00
Timmy Willison
c13c5d7d24
Fix context
2013-09-11 08:46:19 -05:00
Timmy Willison
577df98524
The cssHook from addGetHookIf wasn't actually getting added
...
Conflicts:
src/css.js
2013-09-11 08:44:26 -05:00
Timmy Willison
b812c5bea8
Modules can assume the presence of their parents
...
Conflicts:
src/css/curCSS.js
2013-09-10 20:24:51 -05:00
Timmy Willison
203f63cf12
Remove unnecessary file from master cherry-pick
2013-09-10 20:15:38 -05:00
Timmy Willison
5bd074dd46
Remove offset dependency from css. Move curCSS and getStyles to their own module.
2013-09-10 20:08:54 -05:00
Michał Gołębiowski
f7111fb0e5
No ticket. Abstract conditional hook definition.
2013-09-11 02:51:48 +02:00
Timmy Willison
5fbf4a4fe3
Map Sizzle to a path with config to allow users to put Sizzle wherever they want
2013-09-10 18:48:53 -05:00
Timmy Willison
812319093a
Ensure display: inline-block when animating width/height on inline elements. Fixes #14344 .
2013-09-10 15:09:58 -05:00
Timmy Willison
19a0fdfbeb
Match ordering in ajax with master. -3 bytes.
2013-09-09 22:54:07 -05:00
Timmy Willison
2f627494f2
Separate jQuery.fn.init into its own module (for lighter core dependencies across all modules). Restore proper support property for effects.
...
Conflicts:
src/attributes/classes.js
src/core.js
src/manipulation.js
src/traversing.js
2013-09-09 22:51:11 -05:00
Timmy Willison
49cfcb9f3e
Apply consistent ordering in all modules. -219 bytes. Order modules like functions > jQuery.extend > jQuery.fn.extend.
2013-09-09 12:22:37 -04:00
Timmy Willison
6bc8059717
All non-var modules should not indent in their AMD wrappers (just for prettier builds). No functionality changes.
2013-09-09 12:07:40 -04:00
Timmy Willison
2063d6c189
Break jQuery.access out into its own module to separate it from core; Adjust CommonJS+AMD build support to include non-var dependencies. Convert modules with more than a few dependencies to use CJS+AMD syntax.
...
Conflicts:
src/core.js
src/css.js
src/data.js
src/effects.js
src/event.js
src/manipulation.js
src/traversing.js
2013-09-09 12:04:03 -04:00
Timmy Willison
800b80f2ef
Reorder css.js logically
...
Conflicts:
src/css.js
2013-09-09 11:52:01 -04:00
Timmy Willison
ee0343dd1b
Add AMD+CommonJS capabilities to the build script (for modules with long unreadable dependency lists)
...
Conflicts:
src/core.js
2013-09-09 11:47:03 -04:00
Timmy Willison
3c717d2e6a
Always return jQuery in modules that can be included separately
...
Conflicts:
src/attributes.js
src/data.js
src/manipulation.js
2013-09-08 21:30:48 -04:00
Timmy Willison
44596aa8f2
Move parsing methods to their own files (separates manipulation dependency from core)
...
Conflicts:
src/core.js
2013-09-08 21:12:58 -04:00
Michał Gołębiowski
f044622bae
No ticket. Restore checking individual src/**/*.js files by jsHint.
2013-09-06 20:31:48 +02:00
Michał Gołębiowski
6987220d2b
No ticket. Optimize top/left hooks: move the position check up, don't re-check it inside a hook.
2013-09-06 18:29:53 +02:00
Timmy Willison
3ec6af891b
Remove test element in css/support
2013-09-06 12:08:41 -04:00
Michał Gołębiowski
badcd1b6f3
Fix #10814 . Fix #14084 . Make support tests lazy and broken out to components.
2013-09-06 03:40:49 +02:00
Amey Sakhadeo
ceb5b4c9a3
Ref #14313 : Optimize 1.x jQuery.merge for size.
...
(cherry picked from commits c75c9a8ebb
f66d53c856
)
2013-09-03 02:02:45 -04:00
Richard Gibson
5cd6868365
Fix #14318 : Cherry-pick interrupted animation fix from master ea5c22ec12
2013-08-30 12:38:43 -04:00
Timmy Willison
8e6e239256
Pass all tests (and load Sizzle fixture correctly) when loading with AMD
...
Conflicts:
src/css.js
2013-08-29 16:25:44 -04:00
Timmy Willison
05d907d1b1
Fix for custom attr handles duck-punching the boolean attr handle
2013-08-28 12:12:37 -04:00
Timmy Willison
6e19d2a094
Make the attr handles a little more readable (+4 bytes)
2013-08-26 23:53:45 -04:00
Timmy Willison
dc0d3b42c9
Fix most of the broken tests in oldIE. Build order issue.
...
- attr requires val for attaching to the nodeHook as a valHook for buttons
2013-08-26 23:29:33 -04:00
Chris Price
b414efdd8e
Fix #14150 : revert to ownerDocument.defaultView.getComputedStyle. Close gh-1311. (cherry-picked from 3e3680c2cd
)
2013-08-19 18:13:09 +02:00
Jeremy Dunck
7dfe0ad191
Fix #14164 : assign className in addClass/removeClass only if changed. Close gh-1331. (cherry-picked from c418b94eb4
)
2013-08-19 17:58:00 +02:00
Oleg Gaidarenko
49670c5f48
Don't execute DOM ready tests in AMD mode (they aren't loaded before DOM ready). Close gh-1335.
2013-08-16 14:36:08 -04:00
Timmy Willison
2f985ff826
When converting the source to AMD, don't forget to AMD
2013-08-16 12:56:33 -04:00
Timmy Willison
7315861813
Specify support as a dependency wherever it is used. Optimize module order to save 15 bytes.
...
Conflicts:
src/css.js
src/manipulation.js
src/offset.js
src/support.js
2013-08-15 20:41:43 -04:00
Timmy Willison
217cbb7109
AMD-ify jQuery sourcegit s! Woo! Fixes #14113 , #14163 .
...
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
2013-08-15 15:49:49 -04:00
terrycojones
03ad042305
Removed an unneeded variable
...
(cherry-picked from the commit 74dadd3eb65301e630a274fa8d65e9b81bfade54)
2013-08-08 01:18:15 +04:00
Timmy Willison
755e46522d
No need to remove if they ain't nuthin thar
2013-07-24 21:24:37 -04:00
Michał Gołębiowski
4b7a0d4e0a
Update devDependencies, adjust .jshintrc to jsHint 2.x, use .jshintignore. Close gh-1283.
...
Conflicts:
src/.jshintrc
test/.jshintrc
2013-07-11 12:59:44 -04:00
Timmy Willison
40d4881373
Include Sizzle and Qunit with bower. Fixes #14118 .
2013-07-10 12:01:20 -04:00
Timmy Willison
d355140e27
Remove undefined
var declarations
2013-07-08 12:29:12 -04:00
Timmy Willison
acdcc6b6a2
Support CommonJS environments by accentuating the need for a window with a document. Fixes #13768 .
2013-07-04 14:05:30 -04:00
Timmy Willison
894a6c1a6f
Update sizzle to 1.10.3-pre
2013-07-04 13:25:55 -04:00
Timmy Willison
1ebed13c99
Update Sizzle to version 1.10.2
2013-07-03 09:39:17 -04:00
Jason Merino
1c6641f0c8
Fixes #14049 : don't append px to CSS order value. Close gh-1300. (cherry picked from ec6eb38c64
)
2013-07-01 20:03:16 +02:00
Timmy Willison
2933c30b67
Update Sizzle: bower manifest
2013-06-26 23:09:33 -04:00
terrycojones
cafd88ec1d
Moved too-early assignment inside the if stmt where the var is actually used. Close gh-1292.
...
(cherry picked from commit 3a434434c4
)
2013-06-19 19:18:11 -04:00
Timmy Willison
4ad18e0b2a
Update Sizzle. Avoid the use of frameElement. Fixes #13980 .
2013-06-03 16:10:48 -04:00
Jason Bedard
9a3683b110
Avoid jQuery(this) and a closure for .toggle(Boolean), close gh-1271.
...
(cherry picked from commit e53a919090
)
2013-06-02 22:35:49 -04:00
Richard Gibson
adf3090318
Fix #13974 : XML .attr("type")
2013-06-02 01:35:24 -04:00
Eddie Monge
f57f86e6b1
Fix #13789 : Don't throw when module === null. Close gh-1269. Close gh-1280. (cherry-picked from eabb56c274
)
2013-05-29 20:01:43 +02:00
Oleg
272db246be
Sizzle Update: fix #13936 - iframe reload should not affect Sizzle.
2013-05-29 17:46:02 +04:00
Richard Gibson
ae9e05e9f3
Fix #13937 : Correctly scope .finish() following multi-element .animate(). Thanks @gnarf37. Close gh-1279.
2013-05-28 16:48:55 -04:00
Richard Gibson
00231d5d94
Fix #13939 : Same-unit relative animations
2013-05-26 19:52:28 -04:00
Michał Gołębiowski
ef154cc530
Remove an unnecessary comment
2013-05-24 20:14:48 +02:00
Julian Aubourg
53095883ef
Handles HEAD requests as if they always were 204. Fixes #13922 .
2013-05-23 02:39:20 +02:00
Richard Gibson
ef31479446
Followup #13315 : Correct support comment
2013-05-21 17:08:49 -04:00
Richard Gibson
a75016634d
Fix #13894 : CSS identifiers with backslash-escaped whitespace
2013-05-15 21:25:30 -04:00
Richard Gibson
a7f42d9966
Fix #13835 : classes separated by form feed
...
(cherry picked from commit d8a35011ec
)
2013-05-13 21:55:18 -04:00
Richard Gibson
42c25656d1
Fix #13855 : line-height animations. Close gh-1265.
...
(cherry picked from commit 3971c2ebb2
)
2013-05-13 20:33:28 -04:00
Timmy Willison
6fe4f92da1
Update Sizzle: fix sort order test
2013-05-10 15:43:39 -04:00
Timmy Willison
da948ce47b
Update Sizzle: empty string arguments in pseudos. Fixes #13882 .
2013-05-10 12:48:03 -04:00
Jason Bedard
fc9e50a3ed
Only call jQuery(this) when needed. Close gh-1260.
...
Conflicts:
.mailmap
AUTHORS.txt
2013-05-09 14:35:20 -04:00
Dave Methvin
00eafdf028
Fix #13223 . Re-allow leading space in HTML. Close gh-1264.
2013-05-09 14:07:19 -04:00
Timmy Willison
9260f6c047
Update Sizzle: minor fixes
2013-05-08 10:38:06 -04:00
Timmy Willison
765485dd9d
Update Sizzle: fix failing tests with attributes
2013-05-07 17:37:51 -04:00
Timmy Willison
e0df650136
Move attr hook for value to Sizzle.
...
Related: https://github.com/jquery/sizzle/issues/209
2013-05-07 15:22:58 -04:00
Richard Gibson
7c72f69ed0
Fix #13846 : .prev sort direction
...
(cherry picked from commit 9c4a428528
)
2013-05-01 11:36:48 -04:00
Richard Gibson
a49693a527
Fix #13803 : domManip remote-script evaluation per 1.9 (AJAX dataType "script")
...
(cherry picked from commit 18cccd04a6
)
2013-04-29 13:32:10 -04:00
Richard Gibson
6a816ec95f
Fix #13819 : .parent sort direction
2013-04-24 11:38:23 -04:00
Richard Gibson
7723012e11
Fix #13809 : Avoid collisions with words reserved by any version of ECMA-262
...
(cherry picked from commit ad71f47b27
)
2013-04-24 09:06:49 -04:00
Richard Gibson
d605322c10
Fix #13810 : .replaceWith(nextSibling)
...
(cherry picked from commit d8f7e83712
)
2013-04-22 21:10:06 -04:00
Richard Gibson
29b0e5202a
Fix #13807 : attribute/Object.prototype name collisions
...
(cherry picked from commit 67a080b284
)
2013-04-22 09:58:42 -04:00
Richard Gibson
4f786ba4d2
Fix #13797 : .is with single-node context
2013-04-20 11:49:44 -04:00
Richard Gibson
85b3c82445
No ticket: Reduce .find
2013-04-20 10:02:07 -04:00
Timmy Willison
157aeb7c37
Fix failing test in manipulation. Empty string values are acceptable.
2013-04-18 14:00:36 -04:00
Timmy Willison
ed66609a70
Remove usage of the deprecated getAttributeNode() unless a support test warrants it. Fixes #12072 .
2013-04-18 13:39:29 -04:00
Michał Gołębiowski
35784a8244
Fix #13743 . Remove deprecated support.boxModel. Close gh-1231.
...
add myself to AUTHORS.txt
2013-04-17 23:21:39 -04:00
Michał Gołębiowski
0db70aa1fa
Fix #13741 . Make wrap/unwrap methods optional; close gh-1236.
...
move size() test to unit/deprecated;
don't use size() in other tests;
make 2 unit tests actually fire;
code cleanup
2013-04-17 23:06:33 -04:00
Richard Gibson
0100becc91
Fix #12838 : hook point for non-jQuery.ajax synchronous script fetch/execute in domManip. Close gh-1051.
...
(cherry picked from commit 03db1ada2c
)
2013-04-17 12:01:03 -04:00
Rick Waldron
e572eed269
Fixes #13779 . Remove nodes in document order
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-04-16 22:26:22 -04:00
Richard Gibson
bdc4f3ebbe
Fix #13596 ; #13722 : .replaceWith consistency. Close gh-1216.
2013-04-16 17:28:35 -04:00
Timmy Willison
0acf264cd8
Update Sizzle: src attribute in IE7. Fixes #13777 .
2013-04-15 10:43:29 -04:00
Timmy Willison
738b8f8431
Add onevar to jshintrc, but remove the option for linting the concatenated file
2013-04-09 12:48:50 -04:00
Timmy Willison
6bf2c3e49a
Update Sizzle: jshintrc
2013-04-09 12:41:16 -04:00
Timmy Willison
d2435ead36
Update jshintrc to conform to new style guide. Conform to onevar and unused in tests. Fixes #13755 .
...
Conflicts:
src/.jshintrc
src/data.js
test/unit/attributes.js
test/unit/core.js
test/unit/data.js
test/unit/event.js
test/unit/manipulation.js
test/unit/queue.js
test/unit/traversing.js
test/unit/wrap.js
2013-04-09 12:21:54 -04:00
Richard Gibson
c6a694e1c2
Fix #13754 : Require element.style for support tests
2013-04-09 09:59:43 -04:00
Dave Methvin
fdaf2146ad
Fix #13393 . Avoid IE9 activeElement of death.
...
(Cherry picked from 85fc5878b3
)
Conflicts:
src/event.js
2013-04-08 21:52:16 -04:00
Oleg Gaidarenko
08e57b1de7
Adjust the return value of the tabIndex propHook to match the spec. Fixes #13752 .
2013-04-08 21:41:08 -04:00
Timmy Willison
90eb24e58d
Update Sizzle: pick IE over Chrome this time. Supplements #13378 .
2013-04-08 15:37:58 -04:00
Timmy Willison
73f0bd5e8d
Revert "Update Sizzle: use documentElement in focus selector. Fixes #13378."
...
This reverts commit ae7efb6bc2
.
2013-04-08 15:36:52 -04:00
Timmy Willison
ae7efb6bc2
Update Sizzle: use documentElement in focus selector. Fixes #13378 .
2013-04-08 14:18:13 -04:00
Richard Gibson
14b09ef98e
Ref #12652 : Allow overriding native .click() suppression
2013-04-08 13:19:03 -04:00
Michał Gołębiowski
e3777b6437
No ticket: Move jQuery.fn.size to deprecated. Close gh-1229.
2013-04-07 23:22:13 -04:00
Michał Gołębiowski
8594decfcc
Ref #13554 : Move redundant methods to event-alias.js. Close gh-1225.
...
(cherry picked from commits 8ca9f931ec
84a94acae1
100d3c3516
)
2013-04-07 00:48:58 -04:00
Michał Gołębiowski
8f4bebea7d
No ticket: fix indentation. Close gh-1224.
2013-04-07 00:30:37 -04:00
Dave Methvin
f0ea912375
Fix indentation issue with last cherry-pick.
2013-04-06 16:50:36 -04:00
Dave Methvin
f7a378e6b7
Fix #13721 . Filter before .remove() loop so positionals work. Close gh-1221.
...
(Cherry picked from 1b61026650
)
2013-04-06 16:47:03 -04:00
Richard Gibson
ca045de688
No ticket: minor 1.x/2.x code standardization
2013-04-05 01:16:32 -04:00
Richard Gibson
4ef516903e
Fix #13539 : Utilize Sizzle hooks. Close gh-1215.
2013-04-04 23:04:05 -04:00
Brandon Johnson
58b8535d5d
Fix #12199 . Handle iteration over inherited properties in oldIE. Close
...
gh-1196.
2013-04-04 10:14:05 -04:00
Michał Gołębiowski
df7847bc25
Fix #13543 . offsetWidth is wrong on non-1 zoom. Close gh-1218.
2013-04-03 22:08:46 -04:00
Michał Gołębiowski
674d34f021
Remove an unused support check, correct a comment. Close gh-1212.
2013-04-03 21:12:22 -04:00
Michał Gołębiowski
4adde5d145
Update grunt-contrib-jshint to 0.3.0, ref gh-1204.
2013-04-03 20:41:41 -04:00
Richard Gibson
65a6648932
Ref #13353 : capture onlyHandlers in jQuery.Event.isTrigger. Close gh-1183.
2013-04-03 20:25:50 -04:00
jrburke
b6dd1c67a6
Remove the define.amd.jQuery check, close gh-1150.
...
Cherry picked from 2.0 master 34c4e122a3
Conflicts:
src/exports.js
2013-04-03 20:10:42 -04:00
Timmy Willison
336cf71a54
Use semver versions for our in-between versions as well. Also update Sizzle.
...
http://semver.org/
2013-03-23 15:23:40 -04:00
ruado1987
48d71d0c3e
Fix #13514 : Set selectedIndex to -1 when non-matching value is set on a select. Close gh-1191.
2013-03-22 12:46:13 -04:00
Timmy Willison
ab5b0ff3f3
Update Sizzle: now uses built files
2013-03-19 15:55:37 -04:00
Timmy Willison
d55c46659b
Update Sizzle: minor windows 8 issue
2013-03-11 12:57:42 -04:00
jaubourg
69b3d5ce0f
Fixes #11151 , #13388 . Minor refactor of response conversion and when/where
...
responseXXX fields are set on the jqXHR. Close gh-1164.
2013-02-28 14:47:39 -05:00
jaubourg
a14a31727f
Properly resets firingLength when emptying the list. Fixes #13517
2013-02-27 16:12:16 +01:00
Scott González
89b62a78fc
Whitespace.
...
(cherry picked from commit b55bfb140f
)
2013-02-26 13:43:49 -05:00
Timo Tijhof
6b0aa048c9
Optimisation: Use String instead of window.String. Close gh-1176.
...
Follows-up 22e28b01e6
.
(cherry picked from commit 31478b9012
)
2013-02-26 13:31:59 -05:00
Dave Methvin
f5163914fa
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:24:56 -05:00
Richard Gibson
dabdea70ee
No ticket: move jQuery.expando to core
2013-02-25 16:08:24 -05:00
Richard Gibson
328ba956c0
No ticket: reduce support.js
2013-02-25 16:06:09 -05:00
Richard Gibson
44340c889b
Fix #13505 : Yet another detached add patch
2013-02-24 23:24:06 -05:00
Richard Gibson
4083a19192
No ticket: Restore support for Android<4.0
2013-02-23 21:15:53 -05:00
Richard Gibson
5c4ab97a64
Fix #13499 : selector with leading ID matching only a name
2013-02-22 21:29:38 -05:00
Richard Gibson
dbf3056b25
No ticket: Reduce size in anticipation of Sizzle-free builds
2013-02-22 16:33:52 -05:00
Richard Gibson
6cb58e4861
No ticket: Update Sizzle
2013-02-17 23:10:53 -05:00
Richard Gibson
5e29ff7e59
Fix #13265 #13332 : Allow .parent/.closest with text nodes. Close gh-1146.
2013-02-13 21:22:53 -05:00
Richard Gibson
941d2e055b
No ticket: keep jquery.min.js.gz under 32K
2013-02-12 00:45:35 -05:00
Mark Raddatz
03ab9b9f90
Fix #13401 : replaceWith(""). Close gh-1163.
...
(cherry picked from commit 6a0ee2d9ed
)
2013-02-08 09:54:07 -05:00
Richard Gibson
67a2e4eaac
Ref #13316 : Sync all test documents on full vs. minified source.
2013-02-08 00:20:33 -05:00
Timmy Willison
a8518c3bc4
Update Sizzle: detached node sorting in Webkit. Fixes #13331 .
2013-02-05 22:54:21 -05:00
Dave Methvin
3895e3a095
2013!
2013-02-04 19:59:13 -05:00
Oleg
f3c776dcc9
Fix #13356 . Clean up after load/ready handlers. Close gh-1152.
2013-02-04 15:34:08 -05:00
Oleg
8226666b13
Fix #13310 . Get the right display value for disconnected nodes. Close gh-1155.
2013-02-04 15:13:01 -05:00
Dave Methvin
219a1935ee
Fix #13089 . Only apply zoom to IE6/7 body.
2013-02-03 13:54:38 -05:00
Dave Methvin
7adee6c4da
Fix #13335 . Remove "use strict".
2013-02-01 17:18:57 -05:00
Andrew Plummer
f005af54e4
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.
2013-01-31 12:01:34 -06:00
Oleg
d79bf3517e
Fix #13355 . Tweak Uglify options and var order for gzip. Close gh-1151.
...
Change uglify-js options for compressor
Change variables initialization sequence for some declarations
2013-01-31 10:22:12 -05:00
Oleg
e392e5579b
Change variables initialization sequence for some declarations
2013-01-31 10:01:18 -05:00
Timmy Willison
2a70774036
Minor updates. All parameters of an internal function are for internal use only.
2013-01-30 20:40:39 -05:00
Timmy Willison
1e1ea2c44f
Revert change to visible/hidden selectors until 1.10 and 2.1. Reopens #13132 , #10406 .
2013-01-30 20:09:56 -05:00
Dave Methvin
1bbe2b1ded
Fix #13349 . No need to sort simple .find() cases.
2013-01-29 20:58:26 -05:00
adamcoulombe
5be99ecc48
Fix #13150 , .has() w/o args checks for any callbacks. Close gh-1111.
2013-01-27 13:54:16 -05:00
Dave Methvin
24e7624554
Fix #12656 . Make event shorthands excludable.
2013-01-27 00:35:42 -05:00
Dave Methvin
3f9f2b1dbc
Fix #12846 . Restore overflow when animation is stopped.
...
(Cherry picked from a6c358d
)
2013-01-26 22:05:08 -05:00
Richard Gibson
079ee502d6
Fix #13281 : update Sizzle
2013-01-24 23:10:44 -05:00
Richard Gibson
ec9b38a34f
Fix #13315 : compare typeof node.method to var instead of literal "undefined" for safer uglification
2013-01-24 00:13:16 -05:00
byroot
eb47553eea
Don't try and convert data for 204 No Content responses. Fixes #13292 . Fixes #13261 .
2013-01-24 02:35:07 +01:00
Timmy Willison
21af3a9213
Ignore file inputs when serializing forms. File input serialization is handled by plugins. Fixes #13306 .
2013-01-23 12:21:48 -05:00
Timmy Willison
bb1d148345
Fix failing tests, add support for empty spans in Opera. Supplements #13132 , #10406 .
2013-01-21 18:12:16 -05:00
Timmy Willison
3015ee0b5a
Treat elements as hidden when either offsetWidth OR offsetHeight is 0. Fixes #13132 , #10406 .
2013-01-21 17:06:47 -05:00
jaubourg
b83081ba64
Never use the XML as parsed by the XHR instance. Use raw text instead and let the ajax conversion logic do the trick. -20 min/gzipped. Fixes #13276 . Unit test added.
2013-01-21 02:44:16 +01:00
Timmy Willison
c0a370029e
Update Sizzle: fixes native slice usage
2013-01-18 10:49:10 -05:00
Richard Gibson
37eb6125c0
Fix jQuery #13251 : use slice instead of substring
2013-01-17 17:00:29 -05:00
Richard Gibson
64bb0c4135
Ref 8f72967e
: use acceptData to determine when it is safe to add event handlers
...
(cherry picked from commit 50290b8ffb
)
2013-01-16 14:41:18 -05:00
danilsomsikov
8f72967ee2
Fix #8335 : Avoid memory leak by never setting data on non-element non-document nodes. Ref gh-1127.
...
(cherry picked from commit cc324abf73
)
2013-01-16 14:39:53 -05:00
Richard Gibson
6b1b0a26b4
Fix #13233 : re-allow .replaceWith of text nodes. Close gh-1137.
2013-01-16 13:54:01 -05:00
Richard Gibson
d8690344b7
Fix #13182 : update Sizzle
2013-01-16 00:16:24 -05:00
Richard Gibson
fc2ba2e136
Fix #13208 : only check elements for delegation matches
2013-01-16 00:14:57 -05:00
Mike Sherov
65df32dc21
Fix #13183 : Wrong animation initial value calc. Close gh-1136.
2013-01-15 23:28:56 -05:00
Richard Gibson
63f40866fd
Fix #13203 : delegated events with selector matching Object.prototype property
...
(cherry picked from commit 31b9579715
)
2013-01-13 21:42:36 -05:00
Richard Gibson
a7683d866c
No ticket: sync with master @ b75b9ef8
2013-01-13 20:05:43 -05:00
Richard Gibson
f860e0bd2f
Fix #13180 : don't delegate into SVG <use>
2013-01-13 19:20:29 -05:00
Richard Gibson
7812aab1c9
reduce size
2013-01-13 19:20:26 -05:00
Richard Gibson
14c50da7d5
jQuery.event.handlers delegate matching hook point
2013-01-13 19:20:22 -05:00
Oleg
09589c48f1
Add a comment
2013-01-13 23:46:50 +04:00
Oleg
bf4fce7040
Fixes #13200 - innerHTML in buildFragment need end tags
2013-01-13 22:10:24 +04:00
Richard Gibson
e5f37953ba
Fix 9cf812d7
oldIE failures
2013-01-12 20:59:04 -05:00
Richard Gibson
9cf812d7a2
No ticket: compress event.js
2013-01-12 17:11:07 -05:00
Dave Methvin
7be47fba08
Update copyrights used in file headers.
2013-01-11 16:17:22 -05:00
Richard Gibson
52905676e5
Update Sizzle
2013-01-11 13:00:47 -05:00
Oleg
8b82af9ef2
Ref 0ed497b
. Close gh-1125.
2013-01-11 13:00:37 -05:00
Richard Gibson
f40eac1d37
Update Sizzle
2013-01-10 15:23:51 -05:00
Oleg
46bbda8d06
Ref gh-1117: Don't stop on a falsy value in buildFragment.
...
(cherry picked from commit 8e6c1ba92f
)
2013-01-09 11:22:44 -05:00
nanto
0c5d2fbabb
Propagate context of returned deferred object in Deferred.then(). Fixes #13160 .
2013-01-08 17:59:08 +00:00
jaubourg
4694118ef7
Opera 12.0 still implements an older version of the DOM so cloneNode cannot be called without an argument
2013-01-08 11:55:19 +01:00
Dave Methvin
0ed497b045
Resurrect buildFragment and sacrifice jQuery.clean. See gh-1117.
2013-01-08 03:27:10 +00:00
Oleg
ce67f0ce64
Ref #8908 . Update IE9 css clone fix. Close gh-1120.
2013-01-08 01:50:18 +00:00
Corey Frang
c27d8e2988
Fix #13103 . Add .finish() method. Cherry picked from b6abb31df4
.
2013-01-08 01:23:22 +00:00
Dave Methvin
4e0bc169df
Fix #12863 . Prevent oldIE from calling .removeAttribute
2013-01-06 21:47:02 -05:00
Dave Methvin
bbdf957e98
Fix #12336 . Ensure oldIE really does .empty() selects.
2013-01-06 14:20:35 -05:00
Dave Methvin
a95f35744a
Fix #12945 . Check for .getAttribute so IE9 is happy.
2013-01-04 17:33:16 -05:00
Mike Sherov
abead1c86b
Fixes #13088 : under IE8, $(selector).attr('style') always return lowercase string
2012-12-31 12:30:02 -05:00
Dave Methvin
861a45b8ff
Followup to gh-1089. Avoid duplicate typeof check.
2012-12-23 15:57:01 -05:00
Sebi Burkhard
5eec75e582
Fix #13075 . Optimize $.type by preferring typeof
. Close gh-1089.
...
Also fixes browsers where `typeof RegExp === "function"`.
2012-12-23 15:41:56 -05:00
Sebi Burkhard
d829804631
Fix #13076 . Speed up $() with strings, part of gh-1089.
2012-12-23 15:09:10 -05:00
Richard Gibson
3e1589db32
Update Sizzle
2012-12-21 15:51:37 -05:00
Richard Gibson
1e7e541b8b
Fix 00bbbe20
test failures
2012-12-21 10:34:03 -05:00
Oleg
c8c6ab6924
Fix #12569 . Improve feature detect for event bubbling. Close gh-1076.
2012-12-20 22:08:32 -05:00
Richard Gibson
00bbbe2075
Fix #13070 : better unescaping logic in Sizzle
2012-12-20 21:56:53 -05:00
Oleg
5afc93c436
Fix #13094 . Pass index to .before(fn) fn as documented. Close gh-1093.
2012-12-20 20:55:30 -05:00
Dave Methvin
eed78cc321
Fix #13078 . Remove .live() and .die(). Great rejoicing.
2012-12-18 13:24:05 -05:00
Timmy Willison
963c47f9ed
Sizzle: :lang updates for handling backslashes, xml, and inheritance
2012-12-18 11:50:54 -05:00
Timmy Willison
5c8984efc4
Sizzle: QA for :lang from gibson
2012-12-17 15:13:09 -05:00
Timmy Willison
d6d6c3efe7
Sizzle: add support for :lang selector
2012-12-17 12:10:22 -05:00
Richard Gibson
06f46dad93
let .attr(checked|selected, true) update the property
2012-12-16 10:39:19 -05:00
Richard Gibson
a763ae7277
Fix #11115 : Normalize boolean attributes/properties. Close gh-1066.
2012-12-15 23:16:48 -05:00
Timmy Willison
55a8ba5226
Sizzle: size optimization
2012-12-15 13:05:58 -05:00
Timmy Willison
54cbcf1f3d
Sizzle: initialize with default document on load to get it out of the way for most use cases
2012-12-15 12:50:30 -05:00
Timmy Willison
d907848642
Sizzle: assume window.document in Sizzle.matches; massively reduce calls to setDocument by not calling when context is null
2012-12-15 10:50:35 -05:00
Timmy Willison
cc164a36f4
Update Sizzle
2012-12-15 10:33:33 -05:00
Timmy Willison
8424933153
Update Sizzle: avoid calling setDocument when possible
2012-12-15 10:26:24 -05:00
Richard Gibson
60fdc12b96
Update Sizzle
2012-12-15 01:26:18 -05:00
Timmy Willison
73689060ef
Update Sizzle: IE6-8 traversing test fix
2012-12-14 19:06:31 -05:00
Timmy Willison
8b4cdbb663
Sizzle: fix test failures related to Sizzle.contains
2012-12-14 19:00:41 -05:00
Timmy Willison
04bcb173a0
Sizzle: :target and :root selector support. adds Sizzle.setDocument. Remove :active support.
2012-12-14 17:24:39 -05:00
Richard Gibson
2c40fdd4a8
Fix #12600 : don't use value property in place of value attribute. Close gh-1063.
2012-12-14 10:37:20 -05:00
timmywil
05531fc408
Adjust jQuery('html') detection to only match when html starts with '<' (not counting space characters). Fixes #11290 .
2012-12-13 15:31:02 -05:00
Richard Gibson
452e32769d
compress -16 min+gzip
2012-12-13 12:41:25 -05:00
Oleg
643ecf9d63
Ref #8908 , gh-886. Avoid clone identity crisis in IE9/10. Close gh-1036.
2012-12-13 10:42:43 -05:00
Scott González
a270d638f8
CSS: Save some bytes. Close gh-1071.
2012-12-13 10:06:06 -05:00
Oleg
13651f296d
Fix #9646 . Cloned nodes shouldn't affect original in IE7. Close gh-947.
2012-12-13 09:29:40 -05:00
Dave Methvin
0018f7700b
Fix #11230 . .appendTo and pals should always stack.
2012-12-13 09:19:41 -05:00
Paul Ramos
f12611feb4
Fix #4087 . insertAfter, insertBefore, etc do not work if origin and destination are same element. Close gh-1068.
2012-12-11 23:35:22 -05:00
Dave Methvin
aad235b325
Fix #13011 . Let 'type' attribute be set if the browser allows.
2012-12-11 23:16:08 -05:00
Richard Gibson
1d1c80d377
copy defaultSelected in cloneFixAttributes
2012-12-11 23:05:18 -05:00
Bennett Sorbo
32842ac365
Fix #12990 . Don't add 'px' to column-count. Close gh-1050.
2012-12-11 22:38:37 -05:00
Oleg
93e18922c5
Fix #12956 . Improve cloneFixAttributes for IE9/10 case. Close gh-1034.
...
Remove clear(merge)Attributes hack
2012-12-11 22:06:26 -05:00
Mike Sherov
ef6d8779de
Fixes #11938 : Adding array getter method to jQuery.fn.css
2012-12-11 13:58:14 -05:00
Mike Sherov
a918dc8aac
Pass style declarations around for performance improvements and paving the way for the css array signature
...
Also, simplify the jQuery.css numeric coercion signature
2012-12-11 13:58:14 -05:00
Richard Gibson
aa0e4aadd5
Update Sizzle
2012-12-11 09:25:37 -05:00
Timo Tijhof
55313d32a2
Test: Update index.html to new QUnit format. Close gh-1061.
...
Depends on jquery/sizzle#177 , included with the Sizzle submodule in this commit.
2012-12-10 21:48:20 -05:00
Oleg
d41b983259
Fix #10417 . setTimeout w/o 2nd arg is jQuery.later! Close gh-1065.
2012-12-10 20:51:49 -05:00
Rick Waldron
3c7f2af81d
Be specific about Firefox nodes-as-nodelist. Never assume that modern browsers will "get it right".
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-10 20:19:26 -05:00
Rick Waldron
07a7b3e4cf
Fixes #13021 . Normalization of core utility array like detection based on standard protocol by Richard Gibson <richard.gibson@gmail.com>. Closes gh-1064
2012-12-10 13:52:02 -05:00
Rick Waldron
7d5b86ec39
Refactor defaultDisplay's node creation and display logic, -6
2012-12-10 10:05:39 -05:00
Dave Methvin
2eda329be6
Ref #13019 and gh-1062. Use parentNode check instead of isDisconnected().
2012-12-09 14:46:06 -05:00
Dave Methvin
f8f52cfcf4
Fix #13019 . Disconnected nodes with .replaceWith are a noop. Close gh-1062.
2012-12-09 14:10:38 -05:00
Richard Gibson
d343e6b9ed
Fix #12904 : Firefox defaultDisplay with body/iframe display:none. Report and solution by @maranomynet; test by @rwldrn.
2012-12-08 18:04:13 -05:00
jaubourg
23d7cf0488
Deferred: .resolve(), .reject() and .notify() now set the callback context to the promise instance rather than the deferred instance ; .then() has also been amended. Fixes #11405 .
2012-12-07 15:14:12 +01:00
Dave Methvin
282c044d64
Fix #13013 . Move jQuery.buildFragment() to compat plugin.
2012-12-06 21:17:27 -05:00
Timo Tijhof
5dd8a90f73
Make compatible with jshint, lint test/data. Close gh-1043.
2012-12-06 13:46:37 -05:00
Richard Gibson
26bf8dd56b
once more with feeling
2012-12-05 23:47:33 -05:00
Richard Gibson
9bfe9e7dfb
don't test SVG on IE6
2012-12-05 23:30:53 -05:00
Richard Gibson
abe009cf26
Fix #10832 (this time with tests): jQuery.contains in SVG
2012-12-05 22:42:54 -05:00
Rod Vagg
551c2c9f4a
Fixes #12449 . make replaceWith() clone elements where required. Closes gh-920
2012-12-04 21:50:22 -05:00
Paul Ramos
13449a99b2
Fix #11989 . Remove fragment cache, moving to jquery-compat. Close gh-1052.
2012-12-04 21:30:37 -05:00
Richard Gibson
3ab26340dc
Fix #12856 : keep PSEUDO regex non-greedy
2012-12-03 23:43:34 -05:00
Dave Methvin
c2d6847de0
Fix #12989 . Remove ajax "global" event behavior.
2012-12-01 20:29:32 -05:00
jaubourg
e63625e16e
Fixes awkward spacing
2012-11-29 17:28:16 +01:00
jaubourg
8a79be7894
Simplifies how url is kept devoid of anti-cache parameter for ifModified requests. Also, renames ifModifiedKey to cacheURL so that it now conveys the variable's nature rather than its purpose. -5 min/gzipped.
2012-11-29 17:16:42 +01:00
Matt Farmer
081c4efcf7
Alias options.method to options.type. Fixes #12004 .
2012-11-28 23:59:37 +01:00
Oleg
9ae6b1a019
Fix #12957 . Simplify wrapMap, it doesn't need end tags. Close gh-1044.
2012-11-27 21:32:59 -05:00
Richard Gibson
1052f9cb2b
save a byte
2012-11-27 09:53:30 -05:00
Richard Gibson
243d4cc83c
Don't let removeClass create attributes
2012-11-27 09:46:06 -05:00
Richard Gibson
0877d424e0
Fix #12959 : Optimize library-wide patterns
2012-11-27 01:59:22 +01:00
Corey Frang
516a7a8792
Fix #12803 . Add jQuery.fx.start as a hook point. Close gh-1024.
2012-11-25 15:23:02 -05:00
Scott González
84629a9b87
Fix #12869 . Zoom the body after support tests; avoids layout changes in IE8/9/10 in IE7 mode. Close gh-1025.
2012-11-25 15:16:16 -05:00
Dave Methvin
ae215fdcf8
Fix #12134 . Make .serialize() HTML5-compliant; provide a propHook for shimming.
2012-11-25 14:54:07 -05:00
Richard Gibson
a938d7b128
No ticket: compress ajax. Close gh-1041.
2012-11-25 13:07:46 -05:00
Dave Methvin
67df705bf5
Fix #12191 . jQuery.type should return "error" for Error objects.
2012-11-24 17:22:14 -05:00
dcooper
78c1560065
Fix #9960 , allow manipulation for parent document nodes. Close gh-924.
2012-11-24 16:53:27 -05:00
Dave Methvin
3fce794844
Fix #12733 . Ignore excess spaciness in event strings.
...
Thanks @bentruyman!
2012-11-24 16:05:20 -05:00
Dave Methvin
b7ec6ddd45
Fix #12868 . Use native focus/blur to get event order right.
2012-11-24 14:44:39 -05:00
Dave Methvin
1fb2f92c35
Fix #3827 . Get the correct checkbox status for a click handler.
2012-11-24 14:08:51 -05:00
Timo Tijhof
4fed8eb86d
Set async to true instead of async (prop vs. attr). Closes gh-1039
2012-11-21 21:47:59 -05:00
Richard Gibson
bb570fc373
Fix #12920 : remove addMandatoryAttributes. Close gh-1037.
2012-11-20 22:57:41 -05:00
Richard Gibson
22f58bd688
fix Safari test failures
2012-11-19 17:17:48 -05:00
Richard Gibson
e889134058
Fix #11795 , #10470 : keep scripts in DOM; execute only on first insertion. Close gh-864.
2012-11-19 09:50:19 -05:00
aFarkas
ca5e06a15c
Fix #12915 , add propHook for scrip src property on oldIE. Close gh-1035.
2012-11-18 21:20:12 -05:00
Dave Methvin
20be650bae
Merge branch 'x8908'
2012-11-18 14:56:46 -05:00
Elijah Manor
5904468b9c
Fix #8908 . Don't let change to originals affect clones in IE9/10. Close gh-886.
2012-11-18 14:49:36 -05:00
Richard Gibson
d08d48337f
update Sizzle
2012-11-16 15:57:43 -05:00
Dave Methvin
05fb5de3ee
Revert "Fixes #12569 . Improve Feature Detect For oldIE bubbling. closes gh-967"
...
This reverts commit 063ea024e9
.
I've beaten on this for a while and can't find a suitable feature detect that catches Chrome's support for focusin.
2012-11-14 21:09:12 -05:00
Dave Methvin
02c726f71c
Fix #12777 . Add applet to non-cacheable fragment types.
...
I don't want to add a unit test that creates a dependency on an applet.
2012-11-13 10:30:25 -05:00
Richard Gibson
e78cfb1a37
Fix #12858 : don't expose jQuery/Sizzle expandos
2012-11-09 23:43:46 -05:00
Corey Frang
877306738f
Unroll the ( || ) in the math - Fixes #12497 - Thanks @lukemella @curiousdannii - Closes gh-1019
2012-11-07 21:29:55 -06:00
Corey Frang
c45f6095f2
Keep track of a hiding state for toggle based animations - Fixes #8685
...
Closes gh-1018
2012-11-07 19:23:24 -06:00
Corey Frang
781a5c0b78
Ensure each tick gets it's own fxNow - Fixes #12837 - Thanks @chadparry
...
Closes gh-1022
Closes gh-1021
2012-11-07 19:22:14 -06:00
Dave Methvin
6b14cef7a8
Remove APIs now in jquery-compat
2012-11-07 20:12:03 -05:00
Richard Gibson
0ee9415902
Restore jQuery.access parameter mistakenly removed in 80d45a69
2012-11-06 09:53:00 -05:00
Richard Gibson
80d45a69ea
Fix #12840 : remove undocumented parameter "pass" from .attr. Close gh-1017.
2012-11-05 17:21:24 -05:00
Dave Methvin
68f001e709
Must attach the .selector to the new jQuery object.
2012-11-01 21:40:01 -04:00
Oleg
f651bf8893
Follow-up for .selector property removal
2012-11-01 21:31:55 -04:00
Dave Methvin
240b141a22
Fix #10299 . Add a propHook for oldIE link href.
2012-11-01 20:50:45 -04:00
Dave Methvin
9c2f000567
Remove unneeded parameter hockey in event shortcuts.
2012-11-01 19:48:21 -04:00
Dave Methvin
dc9913a0bf
Fix #12828 . Remove non-standard event properties.
2012-11-01 17:57:23 -04:00
Dave Methvin
395f1da76b
Fix #12827 . Remove exclusive event semantics from .trigger().
...
No unit tests were removed in the undoing of this feature. 😭
2012-11-01 16:56:35 -04:00
Dave Methvin
5ed0450dc4
Fix #12816 . Ensure .find() result are DOM ordered.
2012-10-31 22:43:04 -04:00
Dave Methvin
e8cf41a051
Fix #10544 . Remove deprecated .data() event namespaced triggering.
...
Data events were horribly slow, never documented, and caused strange interpretation of data items with dots in them.
2012-10-31 21:27:42 -04:00
Mike Sherov
e8f91514a6
Fix #12009 . $().find( DOMElement ) should pushStack properly. Close gh-927.
2012-10-30 13:32:53 -04:00
yiminghe
c78a3ba657
Fix #12685 . Handle inconsistent opacity for ie < 9. Close gh-1005.
2012-10-30 10:20:54 -04:00
Oleg
bea5ecbba7
Fix #10416 . Don't trust computed styles on detached elements. Close gh-941.
2012-10-28 23:32:54 -04:00
Timo Tijhof
36c9ecb0f5
Implement expectation test instead of using _removeData. Close gh-997.
...
* Removed inline usage of QUnit.reset() because it is messing with the
expectation model as reset does .empty() which does a recursive cleanData
on everything in #qunit-fixture, so any expectJqData above .reset() would
fail negatively.
Instead of calling reset inline, either updated the following assertions to
take previous assertions' state into account, or broke the test() up into
2 tests at the point where it would call QUnit.reset.
* After introducing the new memory leak discovery a whole bunch of tests were
failing as they didn't clean up everything. However I didn't (yet) add
QUnit.expectJqData calls all over the place because in most if not all of
these cases it is valid data storage. For example in test "data()", there
will be an internal data key for "parsedAttrs". This particular test isn't
intending to test for memory leaks, so therefor I made the new discovery
system only push failures when the test contains at least 1 call to
QUnit.expectJqData.
When not, we'll assume that whatever data is being stored is acceptable
because the relevant elements still exist in the DOM anyway (QUnit.reset
will remove the elements and clean up the data automatically).
I did add a "Always check jQuery.data" mode in the test suite that will
trigger it everywhere. Maybe one day we'll include a call to everywhere,
but for now I'm keeping the status quo: Only consider data left in storage
to be a problem if the test says so ("opt-in").
* Had to move #fx-tests inside the fixture because ".remove()" test would
otherwise remove stuff permanently and cause random other tests to fail
as "#hide div" would yield an empty collection.
(Why wasn't this in the fixture in the first place?)
As a result moving fx-tests into the fixture a whole bunch of tests failed
that relied on arbitrary stuff about the document-wide or fixture-wide
state (e.g. number of divs etc.). So I had to adjust various tests to
limit their sample data to not be so variable and unlimited...
* Moved out tests for expando cleanup into a separate test.
* Fixed implied global variable 'pass' in effects.js that was causing
"TypeError: boolean is not a function" in *UNRELATED* dimensions.js that
uses a global variable "pass = function () {};" ...
* Removed spurious calls to _removeData. The new test exposed various failures
e.g. where div[0] isn't being assigned any data anyway.
(queue.js and attributes.js toggleClass).
* Removed spurious clean up at the bottom of test() functions that are
already covered by the teardown (calling QUnit.reset or removeClass to
supposedly undo any changes).
* Documented the parentheses-less magic line in toggleClass. It appeared that
it would always keep the current class name if there was any (since the
assignment started with "this.className || ...".
Adding parentheses + spacing is 8 bytes (though only 1 in gzip apparently).
Only added the comment for now, though I prefer clarity with logical
operators, I'd rather not face the yayMinPD[1] in this test-related commit.
* Updated QUnit urlConfig to the new format (raw string is deprecated).
* Clean up odd htmlentities in test titles, QUnit escapes this.
(^\s+test\(.*)(>\;) → $1>
(^\s+test\(.*)(<\;) → $1<
[1] jQuery MinJsGz Release Police Department (do the same, download less)
2012-10-28 22:44:57 -04:00
Oleg
18e7a53d15
Elements created from html strings have a parentnode. Fixes #12392
2012-10-25 20:41:47 -04:00
Daniel Gálvez
b398a68333
Fix #11542 . document.body should not be special in .offset() and document.documentElement is the default element.offsetParent. Close gh-899.
2012-10-24 23:35:15 -04:00
Dave Methvin
69e2f068fe
Fix #9469 . Remove semi-functional .selector property. Close gh-1006.
...
Saved 65 bytes.
2012-10-24 22:36:20 -04:00
Rick Waldron
812c6087ad
Brute force property removal when removeData([a,b,c]). Fixes #12786
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-10-24 14:12:28 -04:00
Timmy Willison
2eff7fe72d
Sizzle: remove unneeded vars and POS regex (-22 bytes)
2012-10-24 10:35:08 -04:00
Mike Sherov
bede0123d9
new JSHINT mixed spaces/tabs is smart enough to not warn on multiline comments, rendering smarttabs useless
2012-10-22 13:29:43 -04:00
Matthias Jäggli
227c49a459
Fix #12411 , .removeClass(undefined) is a chaining no-op. Close gh-913.
...
.removeClass() //removes all classes, as documented
.removeClass(window.nonExistentVariable) // removes nothing
2012-10-21 21:06:41 -04:00
Oleg
9dd0b01017
Fix #12061 . Avoid window.onbeforeunload to permit multiple handlers. Close gh-894.
2012-10-20 22:29:18 -04:00
Dave Methvin
08341437e0
Remove deprecated $.uuid and dunseled $.deletedIds.
2012-10-20 22:18:29 -04:00
Marcel Greter
de9ff7cd17
Fix #12107 . Let .proxy() curry args without overwriting context. Close gh-866.
2012-10-20 22:10:06 -04:00
Oleg Gaidarenko
cafb542da9
Alternate fix for #11426 ; check responseText. Close gh-843.
2012-10-20 21:25:39 -04:00
Rick Waldron
8076a33bd8
Don't expose jQuery.deletedIds. Close gh-889.
2012-10-20 21:02:21 -04:00
Sai Wong
2b0e720406
Fix #12048 . Set attributes for XML fragments. Close gh-965.
2012-10-20 15:27:43 -04:00
Merrifield, Jay
408e5e08c2
Fixes #12518 , removes an offsetWidth on focus/blur events for an <IE9 bug that caused a performance hit. Closes gh-958
2012-10-20 14:00:30 -04:00
Sai Wong
5228f0a618
Fix #12610 , remove unneeded window.event. Close gh-968.
2012-10-20 10:07:01 -04:00
Richard Gibson
b5084b4bf2
Fix #4262 : faster .eq(), closes gh-1000.
2012-10-19 22:32:25 -04:00
Allen J Schmidt Jr
c6cf30a56e
Fix #12739 . Keep namespace when triggering with an Event. Close gh-972.
2012-10-19 16:42:13 -04:00
jaubourg
9346c0ef99
adds strict rule to jshint options (except for test files). "use strict" is added to the main jQuery closure and some "could-be-unsafe" this
trickery in effects is silenced.
2012-10-18 00:50:01 -04:00
James Huston
ee9687d441
Fix #12751 . Ensure parseJson throws in the same situations as JSON.parse. Close gh-993.
2012-10-17 16:28:55 -04:00
Richard Gibson
c31539c8a2
no ticket: fix jQuery suite failure on Android
2012-10-17 15:20:50 -04:00
Merrifield, Jay
063ea024e9
Fixes #12569 . Improve Feature Detect For oldIE bubbling. closes gh-967
2012-10-17 15:02:31 -04:00
Merrifield, Jay
425272aea1
Fixes #12749 , correctly detect position() for position:fixed elements, closes gh-991
2012-10-17 13:41:49 -04:00
Mike Sherov
16d996ba0c
no ticket: remove and enforce unused vars in jshint
2012-10-17 12:52:12 -04:00
Timmy Willison
7607068faa
Update Sizzle: fixes failing tests in traversing (FF, Opera, Safari)
2012-10-17 11:13:26 -04:00
Sai Wong
0c1cea3761
Refactored before/after/replaceWith to not pushStack. Fixes #12664 , closes gh-987
2012-10-16 16:50:40 -04:00
Timmy Willison
f47e3da3c2
Sizzzzzzllllleeeee
2012-10-16 16:42:21 -04:00
jaubourg
8bae5e19af
Uses an additive approach to generating anti-cache parameters rather than a timestamp. Fixes #12550
2012-10-16 16:08:13 -04:00
Timmy Willison
f9f034db6f
Update Sizzle: <3 reverts
2012-10-16 15:23:03 -04:00
Dave Methvin
947acfc32e
Merge branch 'master' of github.com:jquery/jquery
2012-10-16 15:15:00 -04:00
Daniel Galvez
ef7bce7e5c
Fix #11280 . IE6-8 need name attribute to parse param. Close gh-914.
2012-10-16 15:07:44 -04:00
Rick Waldron
aeb036893d
Fixes busted indents. Sorry folks
2012-10-16 15:07:18 -04:00
Richard Gibson
0ea348bb5b
update sizzle for test failures
2012-10-16 15:03:33 -04:00
Rick Waldron
1fdc0b7f78
Replace unknown, mysterious html arg to replaceWith(fn...), with just the current node.
2012-10-16 15:01:59 -04:00
Greg Lavallee
e83bc970f2
Fixes #12736 . Move hover event hack to deprecated.js for removal in 1.9. Closes gh-982.
...
Signed-off-by: Timmy Willison <timmywillisn@gmail.com>
2012-10-16 14:47:11 -04:00
Timmy Willison
bf145b6f3e
Sizzle was accidentally reverted
2012-10-16 13:28:57 -04:00
Mike Petrovich
861476eb3f
Fixes #11635 , Explicit overflow:auto is overridden by inline overflow:hidden during animation, closes gh-981
2012-10-16 12:30:28 -04:00
Timmy Willison
420dcc5842
Update Sizzle: allows disconnected sorting. Change add to always sort with added nodes, even when disconnected.
2012-10-16 11:54:54 -04:00
Ben Truyman
ce5784a480
Handle a falsy URL in the settings object for jQuery.ajax. Fixes #10093 , Closes gh-979
2012-10-16 11:37:15 -04:00
Mike Sherov
fcaef88968
Clean up jshintrc configs. Close gh-983.
2012-10-16 11:28:11 -04:00
carldanley
08e134548f
Create private methods for processing data/removeData requests. Fixes #12519 , Closes gh-976
2012-10-16 11:15:41 -04:00
MORGAN
4bb46f413a
Return correct index for no-arg index() calls. Fixes #10977 . Closes gh-971
2012-10-16 10:25:08 -04:00
Mike Sherov
ed9e34482a
enforce double quotes via JSHint. Closes gh-975
2012-10-16 10:17:14 -04:00
Akintayo Akinwunmi
78617f067a
Moved attrFN to deprecated. Close gh-977.
2012-10-16 10:01:18 -04:00
jaubourg
6eacf67e30
Merge branch 'master' of github.com:jquery/jquery
2012-10-16 09:41:15 -04:00
jaubourg
40f9ab9cdf
better, more maintainable version of the prefilters execution and transport selection
2012-10-16 09:40:42 -04:00
Erick Ruiz de Chavez
efc2d8b1a6
Fixing style for deferred.js unit tests. Close gh-973.
...
Close jquery/2012-dev-summit/#56
2012-10-16 08:24:18 -04:00
Mike Sherov
d70e64bff2
fix effects tests failure
2012-10-16 00:17:39 -04:00
Rick Waldron
6aae3e1038
Latest JSHint gets cranky with the _ vars in catch() {}
2012-10-15 18:05:36 -04:00
David Bonner
9104a3d5f2
Deprecate fn toggle Closes gh-970 https://github.com/jquery/2012-dev-summit/issues/24
2012-10-15 17:20:33 -04:00
Timmy Willison
add8503036
Update Sizzle: focus test was failing if browser window was not in focus
2012-10-15 16:09:58 -04:00
Timmy Willison
cb67571dd2
Sizzle: Fix :focus selector with elements that have a tabIndex !== -1
2012-10-15 10:40:32 -04:00
Timmy Willison
077989e8c0
Update Sizzle: Fixes #12606 , #12671 , #12672 .
2012-10-14 12:07:05 -04:00
Dave Methvin
1450305402
Use the correct escape for BOM; add build code to detect non-ASCII.
2012-10-11 10:25:43 -04:00
Dave Methvin
798a7a7ea2
Use Uglify's ascii_only to avoid converting UTF-8 escapes.
...
Thanks @curiousdannii!
2012-10-11 09:39:21 -04:00
Dave Methvin
a60fed4dec
Fix #12690 . Avoid use of UTF-8 chars in final files.
2012-10-10 13:00:45 -04:00
jaubourg
bb38f70646
Do not iterate over functions. Fixes #12665 . Unit tests added. Thanks to @kselden for finding the bug.
2012-10-06 22:00:43 +02:00
Rick Waldron
60f546acb1
body default display is always block. @mikesherov was right and this is the proof. Fixes #10227
2012-10-04 13:25:50 -04:00
Timmy Willison
52a8422559
Sizzle: throw an invalid selector exception for trailing-comma selectors. Fixes #12643 .
2012-10-04 09:49:20 -04:00
Richard Gibson
425d17de83
Fix #12583 : Don't ignore disabled property of select-one, close gh-932.
2012-10-03 21:14:08 -04:00
Richard Gibson
da3ff3afe4
Fix #12637 : restore 1.8.1 ajax crossDomain logic. Close gh-944.
2012-10-03 21:07:50 -04:00
Mike Sherov
9ced027465
Fix #12537 , element.css('filter') returns undefined in IE9. Close gh-942.
2012-09-30 22:14:49 -04:00
Richard Gibson
22fac5c2e4
Fix #12357 : be more kind to non-browser environments. Close gh-938.
2012-09-30 20:54:28 -04:00
Timmy Willison
022b265956
Sizzle: removes nth-child cache
2012-09-20 17:00:43 -04:00
Timmy Willison
a44463f83f
Sizzle: account for external document contexts (such as iframes) in combinator checks. Fixes #12572 .
2012-09-20 12:00:57 -04:00
Timmy Willison
6ad4a0ef34
Update Sizzle: fix a failing test in traversing. Move an attribute selector test to jQuery-only.
2012-09-19 20:46:18 -04:00
Timmy Willison
c9b894c98c
Sizzle: fixes failing test in css
2012-09-19 12:30:57 -04:00
Timmy Willison
99f4825707
Update Sizzle: fix position caching with child selectors. Fixes #12337 .
2012-09-19 12:04:09 -04:00
Timmy Willison
2f92685a9c
Fixes failing tests in selector/traversing
2012-09-19 12:00:47 -04:00
Timmy Willison
f7980d4d68
Update Sizzle: Fixes #12303 , #12474 , #12523 , #12526 , #12541 .
2012-09-19 11:32:02 -04:00