]> source.dussan.org Git - jquery.git/log
jquery.git
13 years agoMerge branch '8101_lrbabe_requestAnimationFrame' of https://github.com/timmywil/jquer...
jeresig [Sun, 10 Apr 2011 21:27:34 +0000 (17:27 -0400)]
Merge branch '8101_lrbabe_requestAnimationFrame' of https://github.com/timmywil/jquery into timmywil-8101_lrbabe_requestAnimationFrame

Conflicts:
src/effects.js

13 years agoSeparate raf function definition from passing it to requestAnimationFrame 298/head
timmywil [Sun, 10 Apr 2011 21:17:34 +0000 (17:17 -0400)]
Separate raf function definition from passing it to requestAnimationFrame

13 years agoMerge branch 'attrhooks.1.6v2' of https://github.com/timmywil/jquery
jeresig [Sun, 10 Apr 2011 21:11:35 +0000 (17:11 -0400)]
Merge branch 'attrhooks.1.6v2' of https://github.com/timmywil/jquery

13 years agoAdded back support.js test for getSetAttribute and removed some duplicate code that... 311/head
timmywil [Sun, 10 Apr 2011 21:08:18 +0000 (17:08 -0400)]
Added back support.js test for getSetAttribute and removed some duplicate code that crept into attributes.js

13 years agoMerge branch 'modest_val_proposal' of https://github.com/timmywil/jquery into timmywi...
jeresig [Sun, 10 Apr 2011 20:56:56 +0000 (16:56 -0400)]
Merge branch 'modest_val_proposal' of https://github.com/timmywil/jquery into timmywil-modest_val_proposal

Conflicts:
src/attributes.js

13 years agoMerge branch 'proxy-native-bind' of https://github.com/gf3/jquery into gf3-proxy...
jeresig [Sun, 10 Apr 2011 20:51:22 +0000 (16:51 -0400)]
Merge branch 'proxy-native-bind' of https://github.com/gf3/jquery into gf3-proxy-native-bind

13 years agoMerge branch 'bug_7369' of https://github.com/timmywil/jquery into timmywil-bug_7369
jeresig [Sun, 10 Apr 2011 20:48:02 +0000 (16:48 -0400)]
Merge branch 'bug_7369' of https://github.com/timmywil/jquery into timmywil-bug_7369

13 years agoMerge branch 'map-object.1.6' of https://github.com/danheberden/jquery into danheberd...
jeresig [Sun, 10 Apr 2011 20:46:14 +0000 (16:46 -0400)]
Merge branch 'map-object.1.6' of https://github.com/danheberden/jquery into danheberden-map-object.1.6

13 years agoMerge branch '2773_find_closest' of https://github.com/timmywil/jquery into timmywil...
jeresig [Sun, 10 Apr 2011 20:37:09 +0000 (16:37 -0400)]
Merge branch '2773_find_closest' of https://github.com/timmywil/jquery into timmywil-2773_find_closest

Conflicts:
test/unit/traversing.js

13 years agoFix formatting.
jeresig [Sun, 10 Apr 2011 20:32:40 +0000 (16:32 -0400)]
Fix formatting.

13 years agoMerge branch 'bug_2773' of https://github.com/timmywil/jquery into timmywil-bug_2773
jeresig [Sun, 10 Apr 2011 20:31:10 +0000 (16:31 -0400)]
Merge branch 'bug_2773' of https://github.com/timmywil/jquery into timmywil-bug_2773

13 years agoBringing in the latest Sizzle code.
jeresig [Sun, 10 Apr 2011 20:28:44 +0000 (16:28 -0400)]
Bringing in the latest Sizzle code.

13 years agoMerge branch 'eventprops.1.6final' of https://github.com/rwldrn/jquery into rwldrn...
jeresig [Sun, 10 Apr 2011 20:28:15 +0000 (16:28 -0400)]
Merge branch 'eventprops.1.6final' of https://github.com/rwldrn/jquery into rwldrn-eventprops.1.6final

Conflicts:
test/unit/event.js

13 years agoMerge branch 'master' into attrhooks.1.6v2
timmywil [Sun, 10 Apr 2011 20:26:39 +0000 (16:26 -0400)]
Merge branch 'master' into attrhooks.1.6v2

13 years agoMerge branch 'attrhooks.1.6'
jeresig [Sun, 10 Apr 2011 19:49:17 +0000 (15:49 -0400)]
Merge branch 'attrhooks.1.6'

Conflicts:
src/core.js
src/support.js

13 years agoMerge branch 'attrhooks.1.6v2' of https://github.com/timmywil/jquery into timmywil...
jeresig [Sun, 10 Apr 2011 19:41:51 +0000 (15:41 -0400)]
Merge branch 'attrhooks.1.6v2' of https://github.com/timmywil/jquery into timmywil-attrhooks.1.6v2

Conflicts:
src/attributes.js

13 years agoHad some stale code in test/unit/attributes.js 296/head
timmywil [Sun, 10 Apr 2011 19:40:49 +0000 (15:40 -0400)]
Had some stale code in test/unit/attributes.js

13 years agoPulling in latest Sizzle.
jeresig [Sun, 10 Apr 2011 19:38:54 +0000 (15:38 -0400)]
Pulling in latest Sizzle.

13 years agoMerge branch 'git_for_dummies' of https://github.com/azatoth/jquery into land-git...
Dave Methvin [Sun, 10 Apr 2011 19:26:30 +0000 (15:26 -0400)]
Merge branch 'git_for_dummies' of https://github.com/azatoth/jquery into land-git-readme

13 years agoFixes #7328. When getting data- attributes, after-cap any embedded dashes per the...
Alexis Abril [Sun, 10 Apr 2011 19:17:00 +0000 (15:17 -0400)]
Fixes #7328. When getting data- attributes, after-cap any embedded dashes per the W3C HTML5 spec.

13 years agoFixes #8814. Clean up inArray.
Rick Waldron [Sun, 10 Apr 2011 18:31:31 +0000 (14:31 -0400)]
Fixes #8814. Clean up inArray.

13 years ago #8150 - When removing the width and height attributes in IE6/7, setting to "" actual...
timmywil [Sat, 9 Apr 2011 21:25:06 +0000 (17:25 -0400)]
 #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

13 years agoIE8 testing for lowercasing the css properties on retrieving style; had assumed the...
timmywil [Sat, 9 Apr 2011 19:56:35 +0000 (15:56 -0400)]
IE8 testing for lowercasing the css properties on retrieving style; had assumed the style support check failed in IE8, which it now does

13 years agoGit for dummies 310/head
Carl Fürstenberg [Fri, 8 Apr 2011 18:56:56 +0000 (20:56 +0200)]
Git for dummies

Per request, here is an simple git for dummies quick sheet, with some
useful commands.

13 years agoAdds a default falsy value for focusinBubbles + minor style consistency regarding...
jaubourg [Fri, 8 Apr 2011 16:24:25 +0000 (18:24 +0200)]
Adds a default falsy value for focusinBubbles + minor style consistency regarding test expression in support map initialization.

13 years agoApplies exception in Style Guidelines regarding objects and functions when they are...
jaubourg [Fri, 8 Apr 2011 15:41:14 +0000 (17:41 +0200)]
Applies exception in Style Guidelines regarding objects and functions when they are the last argument of a function call.

13 years agoRenames chain as pipe.
jaubourg [Fri, 8 Apr 2011 15:35:08 +0000 (17:35 +0200)]
Renames chain as pipe.

13 years agoFixes #8722. Remove try/catch used by #3533 to fix the IE Table Colon Blow bug, and...
Dave Methvin [Fri, 8 Apr 2011 02:52:15 +0000 (22:52 -0400)]
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.

13 years agoMerge branch 'master' of github.com:jquery/jquery
Dave Methvin [Thu, 7 Apr 2011 15:30:26 +0000 (11:30 -0400)]
Merge branch 'master' of github.com:jquery/jquery

13 years agoCreate jQuery.holdReady(true/false) method to encapsulate jQuery.readyWait++ / jQuery...
Dave Methvin [Thu, 3 Feb 2011 02:57:44 +0000 (21:57 -0500)]
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 .

13 years agoMerge branch 'master' of github.com:jquery/jquery
jaubourg [Thu, 7 Apr 2011 04:56:19 +0000 (06:56 +0200)]
Merge branch 'master' of github.com:jquery/jquery

Conflicts:
src/support.js

13 years agoRewrite of the support module. We use a temporary body element in order not to have...
jaubourg [Thu, 7 Apr 2011 04:51:37 +0000 (06:51 +0200)]
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.

13 years agoRewrite of globalEval. Uses window.execScript or window.eval with a trick to ensure...
jaubourg [Thu, 7 Apr 2011 04:47:15 +0000 (06:47 +0200)]
Rewrite of globalEval. Uses window.execScript or window.eval with a trick to ensure proper context. Unit tests added.

13 years agoAdds fn.promise as a mean to observe the completion of animations on a set of element...
jaubourg [Thu, 7 Apr 2011 04:00:52 +0000 (06:00 +0200)]
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).

13 years agoAdds always and chain methods to deferreds.
jaubourg [Thu, 7 Apr 2011 03:49:32 +0000 (05:49 +0200)]
Adds always and chain methods to deferreds.

13 years agoMakes sure each animation tick has the same timestamp for all animations in the batch.
jaubourg [Thu, 7 Apr 2011 03:07:20 +0000 (05:07 +0200)]
Makes sure each animation tick has the same timestamp for all animations in the batch.

13 years agoFix #8732. Change feature detect for focusin event support, so IE9 won't have duplica...
Dave Methvin [Mon, 4 Apr 2011 14:27:31 +0000 (10:27 -0400)]
Fix #8732. Change feature detect for focusin event support, so IE9 won't have duplicate events.

13 years agoFixes #8712. Bubble custom events to the window when they are triggered. Ride that...
Dave Methvin [Thu, 7 Apr 2011 02:11:58 +0000 (22:11 -0400)]
Fixes #8712. Bubble custom events to the window when they are triggered. Ride that, Cowboy!

13 years agoFix some spacing and comment issues that crept in with the rebase.
Dave Methvin [Wed, 6 Apr 2011 15:34:41 +0000 (11:34 -0400)]
Fix some spacing and comment issues that crept in with the rebase.

13 years agoSadly, we still have to bubble the event so inline handlers will work.
Dave Methvin [Wed, 6 Apr 2011 14:31:14 +0000 (10:31 -0400)]
Sadly, we still have to bubble the event so inline handlers will work.

13 years agoOnly bubble a triggered event if we have attached a jQuery handler, but check the...
Dave Methvin [Wed, 16 Mar 2011 03:40:25 +0000 (23:40 -0400)]
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.

13 years agoSwitch from recursion to iteration for event triggering. Move event-name namespace...
Dave Methvin [Fri, 11 Feb 2011 04:43:45 +0000 (23:43 -0500)]
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.

13 years agoSkip id regex check when large html strings are passed to the jQuery constructor...
carpie [Wed, 19 Jan 2011 23:37:31 +0000 (17:37 -0600)]
Skip id regex check when large html strings are passed to the jQuery constructor (#7990).

13 years agoMerge branch 'cssrelative.1.6' of https://github.com/danheberden/jquery into danheber...
Dave Methvin [Wed, 6 Apr 2011 02:40:59 +0000 (22:40 -0400)]
Merge branch 'cssrelative.1.6' of https://github.com/danheberden/jquery into danheberden-cssrelative.1.6

13 years agoPerformance testing: localize val to each block and only set val to value when not... 295/head
timmywil [Wed, 6 Apr 2011 02:40:12 +0000 (22:40 -0400)]
Performance testing: localize val to each block and only set val to value when not a function

13 years agoMerge branch 'domready' of https://github.com/cowboy/jquery
Dave Methvin [Wed, 6 Apr 2011 02:24:40 +0000 (22:24 -0400)]
Merge branch 'domready' of https://github.com/cowboy/jquery

13 years agoMerge branch '4321' of https://github.com/rwldrn/jquery into rwldrn-4321
Dave Methvin [Wed, 6 Apr 2011 02:04:05 +0000 (22:04 -0400)]
Merge branch '4321' of https://github.com/rwldrn/jquery into rwldrn-4321

13 years agoShorten up the code and do event cleanup on test cases.
Dave Methvin [Wed, 6 Apr 2011 01:59:09 +0000 (21:59 -0400)]
Shorten up the code and do event cleanup on test cases.

13 years agoMerge branch 'ticket_7883' of https://github.com/rwldrn/jquery into rwldrn-ticket_7883
Dave Methvin [Wed, 6 Apr 2011 01:42:58 +0000 (21:42 -0400)]
Merge branch 'ticket_7883' of https://github.com/rwldrn/jquery into rwldrn-ticket_7883

13 years agoRemove this.type assignment 301/head
rwldrn [Tue, 5 Apr 2011 20:32:42 +0000 (16:32 -0400)]
Remove this.type assignment

13 years agoPer rwaldron's request, added oRequestAnimationFrame as a possibility
timmywil [Tue, 5 Apr 2011 20:28:25 +0000 (16:28 -0400)]
Per rwaldron's request, added oRequestAnimationFrame as a possibility

13 years agoMove this.type setting to after prop set; avoid setting twice
rwldrn [Tue, 5 Apr 2011 20:20:55 +0000 (16:20 -0400)]
Move this.type setting to after prop set; avoid setting twice

13 years agoTicket #8753 Allow special properties to explicitly defined on jQuery.Event objects
rwldrn [Tue, 5 Apr 2011 19:55:40 +0000 (15:55 -0400)]
Ticket #8753 Allow special properties to explicitly defined on jQuery.Event objects

13 years agoAdd missing var declaration for 299/head
Dan Heberden [Tue, 5 Apr 2011 15:33:14 +0000 (08:33 -0700)]
Add missing var declaration for

13 years agoRemove extra else in parseJSON 300/head
Dan Heberden [Tue, 5 Apr 2011 14:20:58 +0000 (07:20 -0700)]
Remove extra else in parseJSON

13 years agoBug 7587; Enhancement/1.6 Feature: Bypass regexp filter on $.parseJSON and use native...
Dan Heberden [Tue, 5 Apr 2011 08:43:14 +0000 (01:43 -0700)]
Bug 7587; Enhancement/1.6 Feature: Bypass regexp filter on $.parseJSON and use native thrown exceptions if window.JSON.parse is available

13 years agoImprove speed of $.map with object support (-5% previous speed) and improve .length...
Dan Heberden [Tue, 5 Apr 2011 06:59:54 +0000 (23:59 -0700)]
Improve speed of $.map with object support (-5% previous speed) and improve .length detection

13 years agoImprove relative string performance in .css and some code cleanup 297/head
Dan Heberden [Mon, 4 Apr 2011 23:48:24 +0000 (16:48 -0700)]
Improve relative string performance in .css and some code cleanup

13 years agoSome adjustments and style edits on lrbabe's pull for requestAnimationFrame
timmywil [Mon, 4 Apr 2011 23:25:12 +0000 (19:25 -0400)]
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.

13 years agoshorten requestAnimationFrame test
louisremi [Fri, 11 Mar 2011 10:33:15 +0000 (11:33 +0100)]
shorten requestAnimationFrame test

13 years agofirst tick should not occur immediatly; no tick should happen after a stop()
louisremi [Wed, 2 Feb 2011 10:25:09 +0000 (11:25 +0100)]
first tick should not occur immediatly; no tick should happen after a stop()
+ comments

13 years agoreduce impact of requestAnimationFrame on incompatible browsers by minimizing number...
louisremi [Wed, 2 Feb 2011 09:26:04 +0000 (10:26 +0100)]
reduce impact of requestAnimationFrame on incompatible browsers by minimizing number of lookups

13 years agothere was no way to 'manually' stop an animation
louisremi [Tue, 1 Feb 2011 18:57:14 +0000 (19:57 +0100)]
there was no way to 'manually' stop an animation

13 years agotimerId has to be set to true, to avoid starting multiple animation queues
louisremi [Tue, 1 Feb 2011 17:26:41 +0000 (18:26 +0100)]
timerId has to be set to true, to avoid starting multiple animation queues

13 years ago'this' is the window
louisremi [Tue, 1 Feb 2011 15:00:19 +0000 (16:00 +0100)]
'this' is the window

13 years agoomitting 'window.' was causing undefined errors
louisremi [Tue, 1 Feb 2011 11:02:02 +0000 (12:02 +0100)]
omitting 'window.' was causing undefined errors

13 years agouse requestAnimationFrame instead of setInterval for animations, when available.
louisremi [Mon, 31 Jan 2011 17:57:23 +0000 (18:57 +0100)]
use requestAnimationFrame instead of setInterval for animations, when available.

13 years agoRemove the unused radiocheck regex
timmywil [Mon, 4 Apr 2011 18:22:58 +0000 (14:22 -0400)]
Remove the unused radiocheck regex

13 years agoBug 7345; Add support for explicit/relative string values in .css - modified from...
Dan Heberden [Mon, 4 Apr 2011 18:21:15 +0000 (11:21 -0700)]
Bug 7345; Add support for explicit/relative string values in .css - modified from original pull req by brandonaron #78

13 years agoFixes #8744. Makes sure script transport abort method actually removes the script...
jaubourg [Mon, 4 Apr 2011 15:41:30 +0000 (17:41 +0200)]
Fixes #8744. Makes sure script transport abort method actually removes the script tag even if readyState exists.

13 years agoNormalize css property names to lowercase for comparisons on a .attr('style') call...
timmywil [Sun, 3 Apr 2011 22:47:44 +0000 (18:47 -0400)]
Normalize css property names to lowercase for comparisons on a .attr('style') call since IE uppercases everything

13 years agoFound a problem removing the style attribute in IE
timmywil [Sun, 3 Apr 2011 22:18:32 +0000 (18:18 -0400)]
Found a problem removing the style attribute in IE

- Style is now a special case in IE6/7 to set cssText.  My goal is to avoid calling attr again for the performance benefit, and at this point it would also cause an infinite loop for the boolean attributes hooks such as selected & checked.  Nevertheless, style seems to be the only one requiring a special call.

13 years agoMove the if statement in jQuery.fn.removeAttr to jQuery.removeAttr
timmywil [Sun, 3 Apr 2011 20:49:48 +0000 (16:49 -0400)]
Move the if statement in jQuery.fn.removeAttr to jQuery.removeAttr

- Extra testing on removeAttr and IE form weirdness( all good )

13 years agoMinor adjustments and cleanup, including normalizing the value to a string when setti...
timmywil [Sat, 2 Apr 2011 18:23:33 +0000 (14:23 -0400)]
Minor adjustments and cleanup, including normalizing the value to a string when setting( list of changes below )

- Normalize set value to string to synchronize return type cross-browser

- Add style attrHook to propHooks to support style getting in all browsers for both attr and prop

- Extend the selected propHook instead of overriding a possible set function

- Remove selected propHook TODO since there is no selected content attribute and it should return null

13 years ago#5413 - Much shorter solution for getting width/height in ie6
timmywil [Sat, 2 Apr 2011 01:38:54 +0000 (21:38 -0400)]
#5413 - Much shorter solution for getting width/height in ie6
- #8255 Added support for the list attribute in browsers that support it (it is automatically readonly, but can be set if using getAttribute( name, 2)

13 years ago- Added a hook to swap display none for width and height in browsers that do not...
timmywil [Sat, 2 Apr 2011 01:13:01 +0000 (21:13 -0400)]
- Added a hook to swap display none for width and height in browsers that do not sufficiently support get/setAttribute

13 years agoMove the check for the name attribute out of attr and down to the formHook definition
timmywil [Wed, 30 Mar 2011 21:13:15 +0000 (17:13 -0400)]
Move the check for the name attribute out of attr and down to the formHook definition

13 years agoAdd style attribute support tests to $.attr
timmywil [Wed, 30 Mar 2011 01:49:37 +0000 (21:49 -0400)]
Add style attribute support tests to $.attr

13 years agoShorten the logic for hooks, ternary was unnecessary
timmywil [Tue, 29 Mar 2011 04:23:39 +0000 (00:23 -0400)]
Shorten the logic for hooks, ternary was unnecessary

13 years agoAdd name to prop hooks as well
timmywil [Sat, 26 Mar 2011 04:18:02 +0000 (00:18 -0400)]
Add name to prop hooks as well

13 years agoAdd attribute name to paramaters for hooks
timmywil [Sat, 26 Mar 2011 04:15:25 +0000 (00:15 -0400)]
Add attribute name to paramaters for hooks

13 years agoStyle formatting
timmywil [Sat, 26 Mar 2011 03:36:07 +0000 (23:36 -0400)]
Style formatting

13 years agoNo longer need to check for objects or string of null with the special form treatment...
timmywil [Sat, 26 Mar 2011 03:10:59 +0000 (23:10 -0400)]
No longer need to check for objects or string of null with the special form treatment and updates to removeAttr

13 years agoClean up
timmywil [Sat, 26 Mar 2011 03:03:02 +0000 (23:03 -0400)]
Clean up

13 years agoShorten even further
timmywil [Sat, 26 Mar 2011 02:57:01 +0000 (22:57 -0400)]
Shorten even further

13 years agoModularize special form code for IE6/7 and clean up attr again
timmywil [Sat, 26 Mar 2011 02:55:11 +0000 (22:55 -0400)]
Modularize special form code for IE6/7 and clean up attr again

13 years agoFix issue where non-existant attributes on forms in IE6/7 were throwing errors
timmywil [Sat, 26 Mar 2011 01:13:25 +0000 (21:13 -0400)]
Fix issue where non-existant attributes on forms in IE6/7 were throwing errors

13 years agoAdd test for bug #3116
timmywil [Fri, 25 Mar 2011 14:40:46 +0000 (10:40 -0400)]
Add test for bug #3116

13 years agoAdd test for bug#3685, remove added html and add dynamicly to avoid global test suite...
timmywil [Fri, 25 Mar 2011 06:07:15 +0000 (02:07 -0400)]
Add test for bug#3685, remove added html and add dynamicly to avoid global test suite errors

13 years agoFix #6562, tighten up the special code for form objects, add name attrHook for IE6...
timmywil [Fri, 25 Mar 2011 05:46:29 +0000 (01:46 -0400)]
Fix #6562, tighten up the special code for form objects, add name attrHook for IE6/7, and don't check for undefined with getting hook'd attr

13 years agoFix #7472 and added test for #3113
timmywil [Fri, 25 Mar 2011 04:35:50 +0000 (00:35 -0400)]
Fix #7472 and added test for #3113

- Forms with an input that has either name="action" or name="some-other-attr-on-the-form" caused problems in IE6/7.  This is fixed.

- Changed check in $.attr for ret === null to typeof ret === "object" to catch any inputs that are accidentally retrieved in IE6/7, since attributes cannot be set to objects and typeof null === "object"

13 years agoNon-existent attribute for jQuery.attr no longer needs to check for "undefined"
timmywil [Thu, 24 Mar 2011 04:42:00 +0000 (00:42 -0400)]
Non-existent attribute for jQuery.attr no longer needs to check for "undefined"

- Remove an unnecessary var

- Use variable in removeAttr for better minification

13 years agoPerformance enhancement switching nodeType to a var
timmywil [Fri, 18 Mar 2011 02:59:05 +0000 (22:59 -0400)]
Performance enhancement switching nodeType to a var

13 years agoPass jslint, 2 missing semicolons
timmywil [Wed, 16 Mar 2011 23:00:20 +0000 (19:00 -0400)]
Pass jslint, 2 missing semicolons

13 years agoTest description
timmywil [Wed, 16 Mar 2011 02:47:20 +0000 (22:47 -0400)]
Test description

13 years agoRestored 6 tests that I had commented to come back to later to split up between prop...
timmywil [Mon, 14 Mar 2011 02:24:45 +0000 (22:24 -0400)]
Restored 6 tests that I had commented to come back to later to split up between prop and attr.  All tests still pass in all browsers.

- I should make it clear that I have not removed any tests, but only moved some attr tests to prop where I thought it was appropriate.

13 years agoStyle edits according to comments from John and rwaldron.
timmywil [Mon, 14 Mar 2011 01:27:45 +0000 (21:27 -0400)]
Style edits according to comments from John and rwaldron.

13 years agoDon't use extend when setting the action attrHook for IE6/7
timmywil [Sun, 13 Mar 2011 20:29:33 +0000 (16:29 -0400)]
Don't use extend when setting the action attrHook for IE6/7

13 years agoNo, don't return this.
timmywil [Sun, 13 Mar 2011 20:23:21 +0000 (16:23 -0400)]
No, don't return this.

13 years agoSimplify jQuery.removeAttr and return this
timmywil [Sun, 13 Mar 2011 20:17:13 +0000 (16:17 -0400)]
Simplify jQuery.removeAttr and return this