timmywil
da89d8768c
Had some stale code in test/unit/attributes.js
2011-04-10 15:40:49 -04:00
jeresig
9ed5c774e4
Pulling in latest Sizzle.
2011-04-10 15:38:54 -04:00
Dave Methvin
a019fc9ff3
Merge branch 'git_for_dummies' of https://github.com/azatoth/jquery into land-git-readme
2011-04-10 15:26:30 -04:00
Alexis Abril
8c318bf414
Fixes #7328 . When getting data- attributes, after-cap any embedded dashes per the W3C HTML5 spec.
2011-04-10 15:17:00 -04:00
Rick Waldron
8c40c00fac
Fixes #8814 . Clean up inArray.
2011-04-10 14:31:31 -04:00
timmywil
3a1b4661f5
#8150 - When removing the width and height attributes in IE6/7, setting to "" actually sets to 0 instead of auto
...
- Having fixed this automatically with the use of removeAttribute in browsers that support it, this will fix it for IE6/7 as well.
- This has no effect on width/height styles set elsewhere( test added to removeAttr )
- With this addition, I need to call attr in removeAttr for IE6/7, which means boolean calls like .attr("checked", "") will no longer remove the attribute, which I think is fine. .attr("checked", false) will still remove. If I had left it, it would have gone in an infinite loop since setting to empty string is the only way to remove it in these browsers.
- The hrefNormalized hooks were returning null if they weren't present. Added the null check to the getter.
- Now that the style support fails in IE8 as well due to uppercasing everything, no need to have style included with the hrefNormalized hooks
2011-04-09 17:25:06 -04:00
timmywil
17afd80d48
IE8 testing for lowercasing the css properties on retrieving style; had assumed the style support check failed in IE8, which it now does
2011-04-09 15:56:35 -04:00
Carl Fürstenberg
5dde3eb441
Git for dummies
...
Per request, here is an simple git for dummies quick sheet, with some
useful commands.
2011-04-08 22:09:53 +02:00
jaubourg
f182b7b921
Adds a default falsy value for focusinBubbles + minor style consistency regarding test expression in support map initialization.
2011-04-08 18:24:25 +02:00
jaubourg
2594a935de
Applies exception in Style Guidelines regarding objects and functions when they are the last argument of a function call.
2011-04-08 17:41:14 +02:00
jaubourg
7a1c6beab0
Renames chain as pipe.
2011-04-08 17:35:08 +02:00
Dave Methvin
98d83ef85f
Fixes #8722 . Remove try/catch used by #3533 to fix the IE Table Colon Blow bug, and instead check for colon in the event name. Thanks to daguej for scoping this out -- a colonoscopy you might say.
2011-04-07 22:52:15 -04:00
Dave Methvin
c470db6950
Merge branch 'master' of github.com:jquery/jquery
2011-04-07 11:30:26 -04:00
Dave Methvin
14193e449e
Create jQuery.holdReady(true/false) method to encapsulate jQuery.readyWait++ / jQuery.ready(true) logic. Fix problem where jQuery.ready may trigger twice, causing the (unsupported) document.onready to run twice. Fixes #8803 .
2011-04-07 11:26:42 -04:00
jaubourg
6832595ccd
Merge branch 'master' of github.com:jquery/jquery
...
Conflicts:
src/support.js
2011-04-07 06:56:19 +02:00
jaubourg
c1dcad6942
Rewrite of the support module. We use a temporary body element in order not to have to wait for the document to be ready for boxModel-related support tests.
2011-04-07 06:51:37 +02:00
jaubourg
f3c6077da0
Rewrite of globalEval. Uses window.execScript or window.eval with a trick to ensure proper context. Unit tests added.
2011-04-07 06:47:15 +02:00
jaubourg
4552d135f4
Adds fn.promise as a mean to observe the completion of animations on a set of elements. Only queued animations are handled for now, non-queued animations support coming soon. Effects unit tests updated to test the feature (needs more testing though).
2011-04-07 06:00:52 +02:00
jaubourg
bb99899ca0
Adds always and chain methods to deferreds.
2011-04-07 05:49:32 +02:00
Dave Methvin
2f11ba7c98
Allow specific custom events to exit trigger early if there are no handlers bound for that type.
2011-04-06 23:41:47 -04:00
jaubourg
75a4bc4a4e
Makes sure each animation tick has the same timestamp for all animations in the batch.
2011-04-07 05:07:20 +02:00
Dave Methvin
bbd9c776ea
Fix #8732 . Change feature detect for focusin event support, so IE9 won't have duplicate events.
2011-04-06 23:06:52 -04:00
Dave Methvin
b7dd8404c5
Fixes #8712 . Bubble custom events to the window when they are triggered. Ride that, Cowboy!
2011-04-06 22:11:58 -04:00
Dave Methvin
879be3d812
Fix some spacing and comment issues that crept in with the rebase.
2011-04-06 11:34:41 -04:00
Dave Methvin
29386db319
Sadly, we still have to bubble the event so inline handlers will work.
2011-04-06 10:57:09 -04:00
Dave Methvin
246757bacd
Only bubble a triggered event if we have attached a jQuery handler, but check the current element for an inline handler regardless. Make some other size optimizations as well.
2011-04-06 10:57:07 -04:00
Dave Methvin
bfa32317d2
Switch from recursion to iteration for event triggering. Move event-name namespace processing out of event handler, since it has to always go through trigger.
2011-04-06 10:50:31 -04:00
carpie
e0856738e6
Skip id regex check when large html strings are passed to the jQuery constructor ( #7990 ).
2011-04-05 23:18:35 -04:00
Dave Methvin
ceaf093942
Merge branch 'cssrelative.1.6' of https://github.com/danheberden/jquery into danheberden-cssrelative.1.6
2011-04-05 22:40:59 -04:00
timmywil
d47c0ae422
Performance testing: localize val to each block and only set val to value when not a function
2011-04-05 22:40:12 -04:00
Dave Methvin
0fbadbcced
Merge branch 'domready' of https://github.com/cowboy/jquery
2011-04-05 22:24:40 -04:00
Dave Methvin
1e85027dee
Merge branch '4321' of https://github.com/rwldrn/jquery into rwldrn-4321
2011-04-05 22:04:05 -04:00
Dave Methvin
c1316a4cb1
Shorten up the code and do event cleanup on test cases.
2011-04-05 21:59:09 -04:00
Dave Methvin
b5c7c507c1
Merge branch 'ticket_7883' of https://github.com/rwldrn/jquery into rwldrn-ticket_7883
2011-04-05 21:42:58 -04:00
rwldrn
4b0c26f0af
Ticket #8777 undelegate by namespace
2011-04-05 18:55:07 -04:00
rwldrn
92a4d59c32
Remove this.type assignment
2011-04-05 16:32:42 -04:00
timmywil
9db18ddd84
Per rwaldron's request, added oRequestAnimationFrame as a possibility
2011-04-05 16:28:25 -04:00
rwldrn
b1b2e83394
Move this.type setting to after prop set; avoid setting twice
2011-04-05 16:20:55 -04:00
rwldrn
23a411b6bc
Ticket #8753 Allow special properties to explicitly defined on jQuery.Event objects
2011-04-05 15:55:40 -04:00
Dan Heberden
c0389e3e37
Add missing var declaration for
2011-04-05 08:33:14 -07:00
Dan Heberden
3609bed9e7
Remove extra else in parseJSON
2011-04-05 07:20:58 -07:00
Dan Heberden
a7e7dbd978
Bug 7587; Enhancement/1.6 Feature: Bypass regexp filter on $.parseJSON and use native thrown exceptions if window.JSON.parse is available
2011-04-05 01:43:14 -07:00
Dan Heberden
c72371f714
Improve speed of $.map with object support (-5% previous speed) and improve .length detection
2011-04-04 23:59:54 -07:00
Dan Heberden
44a3b5839e
Improve relative string performance in .css and some code cleanup
2011-04-04 16:48:24 -07:00
timmywil
fe3203bb5b
Some adjustments and style edits on lrbabe's pull for requestAnimationFrame
...
- Moved support.js check to effects.js. This is just an assignment to the function if it exists. Removed string concatenations.
+ Still need to do the checks on window, but after that, window is no longer needed.
- Switched ternary to an if statmenet
- assigned timerId to a number rather than the function. I did perf tests to check which is faster.
2011-04-04 19:25:12 -04:00
louisremi
5b0369366a
shorten requestAnimationFrame test
2011-04-04 15:47:19 -04:00
louisremi
c95ab2a39c
first tick should not occur immediatly; no tick should happen after a stop()
...
+ comments
2011-04-04 15:46:37 -04:00
louisremi
15e34d1f07
reduce impact of requestAnimationFrame on incompatible browsers by minimizing number of lookups
2011-04-04 15:46:37 -04:00
louisremi
03e6f7235b
there was no way to 'manually' stop an animation
2011-04-04 15:46:37 -04:00
louisremi
6de29b24b1
timerId has to be set to true, to avoid starting multiple animation queues
2011-04-04 15:46:37 -04:00