]> source.dussan.org Git - jquery.git/log
jquery.git
12 years agoAdd unit tests for animation toggling from hide position. Supplements #10848.
timmywil [Fri, 20 Jan 2012 20:57:11 +0000 (15:57 -0500)]
Add unit tests for animation toggling from hide position. Supplements #10848.

12 years agoWhen stopping a show, save showing end state instead of start state to fix animation...
timmywil [Fri, 20 Jan 2012 19:17:02 +0000 (14:17 -0500)]
When stopping a show, save showing end state instead of start state to fix animation toggling issue. Fixes #10848.

12 years agoAdd undef:true to JSHint now that it understands hoisting
Mike Sherov [Fri, 20 Jan 2012 02:47:23 +0000 (21:47 -0500)]
Add undef:true to JSHint now that it understands hoisting
also add smarttabs:true and fix some smarttabs spacing issues

12 years agoFix #8165: Ignore events bubbling through disabled elements.
Dave Methvin [Fri, 20 Jan 2012 03:14:24 +0000 (22:14 -0500)]
Fix #8165: Ignore events bubbling through disabled elements.

Although #6911 fixed the case where event.target was disabled, it missed the case where the target was a sub-element.

12 years agofixes #11048: make sure support tests don't modify the layout of the body
Mike Sherov [Mon, 26 Dec 2011 20:22:29 +0000 (15:22 -0500)]
fixes #11048: make sure support tests don't modify the layout of the body

12 years agoFix #11130: Don't neglect the data arg when event-map is passed.
Rick Waldron [Fri, 13 Jan 2012 01:30:45 +0000 (20:30 -0500)]
Fix #11130: Don't neglect the data arg when event-map is passed.

12 years agoFix #10978: Let jQuery.param() accept non-native constructed objects.
Rick Waldron [Fri, 13 Jan 2012 01:14:51 +0000 (20:14 -0500)]
Fix #10978: Let jQuery.param() accept non-native constructed objects.

12 years agoFix #10931: Make unit tests work without web access.
Richard Gibson [Thu, 12 Jan 2012 17:39:08 +0000 (12:39 -0500)]
Fix #10931: Make unit tests work without web access.

Applies https://github.com/gibson042/jquery/tree/10931 to
  dd900460ac6f77be71ceb878bc2cd1465397dc60

12 years agoFix #10006: Allow .show() to work on detached elements.
Oleg [Fri, 13 Jan 2012 00:40:41 +0000 (19:40 -0500)]
Fix #10006: Allow .show() to work on detached elements.

12 years agoAdds 'bdi' and 'data' to shim list and test runner. Fixes #11055
Rick Waldron [Sun, 18 Dec 2011 15:54:30 +0000 (10:54 -0500)]
Adds 'bdi' and 'data' to shim list and test runner. Fixes #11055

12 years agoFix #11119: The curCSS function needs only 2 arguments
cmc3cn [Thu, 12 Jan 2012 03:11:22 +0000 (22:11 -0500)]
Fix #11119: The curCSS function needs only 2 arguments

12 years agoFix #11145: Harden dispatch against a form-aliased "disabled" property
Richard Gibson [Thu, 12 Jan 2012 02:56:18 +0000 (21:56 -0500)]
Fix #11145: Harden dispatch against a form-aliased "disabled" property

12 years agoImproves handling of EOL whitespace error reporting
Rick Waldron [Thu, 29 Dec 2011 16:36:41 +0000 (11:36 -0500)]
Improves handling of EOL whitespace error reporting

12 years agoFix #10902. DRY up the ways to include src files in tests.
Mike Sherov [Thu, 12 Jan 2012 02:35:13 +0000 (21:35 -0500)]
Fix #10902. DRY up the ways to include src files in tests.

12 years agoReformat jshint errors to be readable; make post-compile.js write directly to jquery...
Rick Waldron [Thu, 15 Dec 2011 15:11:24 +0000 (10:11 -0500)]
Reformat jshint errors to be readable; make post-compile.js write directly to jquery.min.js; update required Node version

12 years agoFix #11021. There should be no mangling of the "hover" namespace.
Dave Methvin [Wed, 14 Dec 2011 03:29:35 +0000 (22:29 -0500)]
Fix #11021. There should be no mangling of the "hover" namespace.

12 years agoFix #10961. XRegExp's shimmed .exec() can't handle undefined.
Dave Methvin [Wed, 14 Dec 2011 02:57:48 +0000 (21:57 -0500)]
Fix #10961. XRegExp's shimmed .exec() can't handle undefined.

There's no reason to call quickParse if selector is falsy, so it's a minor performance optimization anyway. No change in behavior at all on our side, so no test case needed.

12 years agoFix #10984. Use origType when unbinding via the event object.
Dave Methvin [Wed, 14 Dec 2011 02:40:59 +0000 (21:40 -0500)]
Fix #10984. Use origType when unbinding via the event object.

12 years agoUse Sizzle.Expr.match.globalPOS for identifying POS selectors in traversing. Fixes...
timmywil [Mon, 12 Dec 2011 16:23:47 +0000 (11:23 -0500)]
Use Sizzle.Expr.match.globalPOS for identifying POS selectors in traversing. Fixes #10970.

12 years agoWhen the width/height computed unit is not pixels, return that instead. Fixes #10782.
timmywil [Mon, 12 Dec 2011 15:22:38 +0000 (10:22 -0500)]
When the width/height computed unit is not pixels, return that instead. Fixes #10782.

- Reordered some of css.js in preparation for jshint undef.

12 years agoMerge pull request #633 from rwldrn/contribute
timmywil [Mon, 12 Dec 2011 14:53:34 +0000 (06:53 -0800)]
Merge pull request #633 from rwldrn/contribute

Fix Contribution Guides list of links, hopefully easier to notice and read 0_o

12 years agoFix Contribution Guides list of links, hopefully easier to notice and read 0_o 633/head
Rick Waldron [Sun, 11 Dec 2011 23:20:13 +0000 (18:20 -0500)]
Fix Contribution Guides list of links, hopefully easier to notice and read 0_o

12 years agoPull in sizzle updates for JSHint
Dave Methvin [Fri, 9 Dec 2011 03:13:00 +0000 (22:13 -0500)]
Pull in sizzle updates for JSHint

12 years agoFix #10753. Inline evalScript as it's only used in one place
Mike Sherov [Fri, 9 Dec 2011 02:27:05 +0000 (21:27 -0500)]
Fix #10753. Inline evalScript as it's only used in one place

12 years agoTwo eq is not enough; three eq is more than we want for now.
Dave Methvin [Fri, 9 Dec 2011 02:17:11 +0000 (21:17 -0500)]
Two eq is not enough; three eq is more than we want for now.

We also don't need the lint alias.

12 years agoFix #10692. JSLint is dead! Long live JSHint!
Mike Sherov [Fri, 9 Dec 2011 01:42:47 +0000 (20:42 -0500)]
Fix #10692. JSLint is dead! Long live JSHint!

Still needs this sizzle PR: https://github.com/jquery/sizzle/pull/82

12 years agoFix #10858: CSS regexps recognize non-integer and explicit positive numbers.
Richard Gibson [Fri, 9 Dec 2011 01:26:50 +0000 (20:26 -0500)]
Fix #10858: CSS regexps recognize non-integer and explicit positive numbers.

12 years agoFix #8498. Add cssHooks[prop].expand for use by animate().
Mike Sherov [Fri, 9 Dec 2011 01:01:23 +0000 (20:01 -0500)]
Fix #8498. Add cssHooks[prop].expand for use by animate().

12 years agoFix #10639. Make percent-specified margins return px values in WebKit.
Mike Sherov [Wed, 7 Dec 2011 01:32:26 +0000 (20:32 -0500)]
Fix #10639. Make percent-specified margins return px values in WebKit.

12 years agoPrecompute the parts array; clean up a JSLint complaint.
Dave Methvin [Wed, 7 Dec 2011 01:07:29 +0000 (20:07 -0500)]
Precompute the parts array; clean up a JSLint complaint.

Followup to 6c2a501de40a5f6b3ad382e2d309e5a10fce04d0 for bug #5571.

12 years agoFix #10796. Allow IE<9 to retrieve uncomputed styles.
Mike Sherov [Tue, 6 Dec 2011 21:44:32 +0000 (16:44 -0500)]
Fix #10796. Allow IE<9 to retrieve uncomputed styles.

12 years agoRemove unnec .call( this... from one: function() {}. Fixes #10819
Rick Waldron [Thu, 17 Nov 2011 19:28:22 +0000 (14:28 -0500)]
Remove unnec .call( this... from one: function() {}. Fixes #10819

12 years agoFix #10754. Have jQuery.swap() return the value of its callback.
Mike Sherov [Tue, 6 Dec 2011 21:23:22 +0000 (16:23 -0500)]
Fix #10754. Have jQuery.swap() return the value of its callback.

12 years agoRefine the jQuery.isWindow check.
RafaC3ABl Blais Masson [Tue, 6 Dec 2011 21:17:09 +0000 (16:17 -0500)]
Refine the jQuery.isWindow check.

12 years agoFix #10466. jQuery.param() should treat object-wrapped primitives as primitives.
Rick Waldron [Tue, 6 Dec 2011 21:02:54 +0000 (16:02 -0500)]
Fix #10466. jQuery.param() should treat object-wrapped primitives as primitives.

12 years agoFix #5571. Setters should treat `undefined` as a no-op and be chainable.
Richard Gibson [Tue, 6 Dec 2011 20:25:38 +0000 (15:25 -0500)]
Fix #5571. Setters should treat `undefined` as a no-op and be chainable.

12 years agoUpdating the source version to 1.7.2pre
Dave Methvin [Tue, 22 Nov 2011 02:11:33 +0000 (21:11 -0500)]
Updating the source version to 1.7.2pre

12 years agoTagging the 1.7.1 release.
Dave Methvin [Tue, 22 Nov 2011 02:11:03 +0000 (21:11 -0500)]
Tagging the 1.7.1 release.

12 years agoRevert "Landing pull request 581. Updates original patch by Orkel. Fixes #10006."
Dave Methvin [Tue, 22 Nov 2011 01:53:56 +0000 (20:53 -0500)]
Revert "Landing pull request 581. Updates original patch by Orkel. Fixes #10006."

This reverts commit 299bc655c90cc89652417675f976ae1bfefc4d8b.

12 years agoEnsure all elements are removed from 10006 test block
Rick Waldron [Tue, 22 Nov 2011 01:33:06 +0000 (20:33 -0500)]
Ensure all elements are removed from 10006 test block

12 years agoUpdate release notes version.
Dave Methvin [Tue, 22 Nov 2011 01:04:18 +0000 (20:04 -0500)]
Update release notes version.

12 years agoLanding pull request 581. Updates original patch by Orkel. Fixes #10006.
Rick Waldron [Mon, 21 Nov 2011 18:25:46 +0000 (13:25 -0500)]
Landing pull request 581. Updates original patch by Orkel. Fixes #10006.

More Details:
 - https://github.com/jquery/jquery/pull/581
 - http://bugs.jquery.com/ticket/10006

12 years agoLanding pull request 611. Adds Contributing to jQuery Guidelines section to readme...
Rick Waldron [Mon, 21 Nov 2011 18:25:07 +0000 (13:25 -0500)]
Landing pull request 611. Adds Contributing to jQuery Guidelines section to readme. Fixes #10611.

More Details:
 - https://github.com/jquery/jquery/pull/611
 - http://bugs.jquery.com/ticket/10611

12 years agoFix #10844. Harden quickIs() against form-aliasing of the id property.
Dave Methvin [Mon, 21 Nov 2011 16:33:21 +0000 (11:33 -0500)]
Fix #10844. Harden quickIs() against form-aliasing of the id property.

12 years agoRemove rdigit now that it is no longer necessary
timmywil [Fri, 18 Nov 2011 16:45:12 +0000 (11:45 -0500)]
Remove rdigit now that it is no longer necessary

12 years agoNo global vars allowed. Declare 'body' in support.
timmywil [Fri, 18 Nov 2011 14:28:54 +0000 (09:28 -0500)]
No global vars allowed.  Declare 'body' in support.

12 years agoUpdate version.
Dave Methvin [Fri, 18 Nov 2011 00:14:39 +0000 (19:14 -0500)]
Update version.

12 years agoUpdating the source version to 1.7.1pre
Dave Methvin [Fri, 18 Nov 2011 00:07:03 +0000 (19:07 -0500)]
Updating the source version to 1.7.1pre

12 years agoTagging the 1.7.1rc1 release. 1.7.1rc1
Dave Methvin [Fri, 18 Nov 2011 00:06:35 +0000 (19:06 -0500)]
Tagging the 1.7.1rc1 release.

12 years agoLanding pull request 604. Updates bind to on in src/ajax.js. Fixes #10817.
Rick Waldron [Thu, 17 Nov 2011 20:02:38 +0000 (15:02 -0500)]
Landing pull request 604. Updates bind to on in src/ajax.js. Fixes #10817.

More Details:
 - https://github.com/jquery/jquery/pull/604
 - http://bugs.jquery.com/ticket/10817

12 years agoRemove the invisible body in support; Add temporary tests to verify correct support...
timmywil [Thu, 17 Nov 2011 19:48:27 +0000 (14:48 -0500)]
Remove the invisible body in support; Add temporary tests to verify correct support completions for upcoming support changes.

12 years agoUse .wrapAll to wrap both text nodes in #10812 so IE9 likey.
Dave Methvin [Thu, 17 Nov 2011 19:15:42 +0000 (14:15 -0500)]
Use .wrapAll to wrap both text nodes in #10812 so IE9 likey.

12 years agoFix #10812, let .before() and .after() work on empty collections.
Dave Methvin [Thu, 17 Nov 2011 16:47:56 +0000 (11:47 -0500)]
Fix #10812, let .before() and .after() work on empty collections.

12 years agoFix error in test suite from testElementCrash.html; did not have callbacks.js
timmywil [Wed, 16 Nov 2011 16:39:34 +0000 (11:39 -0500)]
Fix error in test suite from testElementCrash.html; did not have callbacks.js

12 years agoFix #10791. SVG clamors for special treatment of its class names.
Dave Methvin [Wed, 16 Nov 2011 15:35:53 +0000 (10:35 -0500)]
Fix #10791. SVG clamors for special treatment of its class names.

12 years agoFix #10798. Don't re-bubble trigger()ed events in IE.
Dave Methvin [Wed, 16 Nov 2011 02:06:53 +0000 (21:06 -0500)]
Fix #10798. Don't re-bubble trigger()ed events in IE.

Since .trigger() already bubbles the event, we don't have to work around the non-bubbling IE events for that case.

12 years agoAllow mapped types to be removed by a namespace-only type name.
Dave Methvin [Tue, 15 Nov 2011 16:38:55 +0000 (11:38 -0500)]
Allow mapped types to be removed by a namespace-only type name.

12 years agoFix #10794. .triggerHandler() should not .preventDefault().
Dave Methvin [Tue, 15 Nov 2011 15:22:32 +0000 (10:22 -0500)]
Fix #10794. .triggerHandler() should not .preventDefault().

This also provides a resolution for #10699.

12 years agoMicrooptimization in jQuery.attr and remove the redundancy of return undefined
timmywil [Mon, 14 Nov 2011 17:31:28 +0000 (12:31 -0500)]
Microoptimization in jQuery.attr and remove the redundancy of return undefined

12 years agoLanding pull request 600. Remove jQuery.trim() to restore perf. Supplements #10773.
Rick Waldron [Mon, 14 Nov 2011 17:24:58 +0000 (12:24 -0500)]
Landing pull request 600. Remove jQuery.trim() to restore perf. Supplements #10773.

More Details:
 - https://github.com/jquery/jquery/pull/600
 - http://bugs.jquery.com/ticket/10773

12 years agoLanding pull request 586. Create exports.js for exporting jQuery to window and AMD...
jrburke [Mon, 14 Nov 2011 17:13:25 +0000 (12:13 -0500)]
Landing pull request 586. Create exports.js for exporting jQuery to window and AMD. Fixes #10687.

More Details:
 - https://github.com/jquery/jquery/pull/586
 - http://bugs.jquery.com/ticket/10687

12 years agoEnsuring that nulls in private data object won't cause errors on stop() - Fixes ...
Corey Frang [Fri, 11 Nov 2011 20:05:06 +0000 (14:05 -0600)]
Ensuring that nulls in private data object won't cause errors on stop() - Fixes #10750

12 years agoFix #10773. Improve parameter handling in removeAttr.
Oleg [Sun, 13 Nov 2011 08:10:21 +0000 (12:10 +0400)]
Fix #10773. Improve parameter handling in removeAttr.

12 years agoPre-focus the element so the browser won't fire focus while we're faking it.
Dave Methvin [Mon, 14 Nov 2011 02:32:07 +0000 (21:32 -0500)]
Pre-focus the element so the browser won't fire focus while we're faking it.

At this point the unit test is only testing our ability to fake-fire focusin the right way. These machinations are related to the problem in #6705.

12 years agoDisable DOM focusin test since it can't really work in the swarm.
Dave Methvin [Mon, 14 Nov 2011 02:03:36 +0000 (21:03 -0500)]
Disable DOM focusin test since it can't really work in the swarm.

12 years agoCatch more cases where special events were incorrectly removed.
Dave Methvin [Mon, 14 Nov 2011 01:50:36 +0000 (20:50 -0500)]
Catch more cases where special events were incorrectly removed.

We can't take the blow-it-all-away shortcut because something in the middle of the list may be a mapped special event. On the bright side, -22!

12 years agouse for loop instead of jQuery.each in getWH()
Mike Sherov [Fri, 11 Nov 2011 02:23:39 +0000 (21:23 -0500)]
use for loop instead of jQuery.each in getWH()

12 years agoAvoid collateral damage when removing bindType/delegateType special events.
Dave Methvin [Fri, 11 Nov 2011 02:53:07 +0000 (21:53 -0500)]
Avoid collateral damage when removing bindType/delegateType special events.

12 years agoEnsure the hover event doesn't match hovercraft. Witchcraft, maybe.
Dave Methvin [Thu, 10 Nov 2011 23:05:58 +0000 (18:05 -0500)]
Ensure the hover event doesn't match hovercraft. Witchcraft, maybe.

12 years agoMove clearing the support vars to before the offset doc ready call in case the offset...
timmywil [Thu, 10 Nov 2011 15:30:10 +0000 (10:30 -0500)]
Move clearing the support vars to before the offset doc ready call in case the offset tests are run synchronously. Fixes #10737.

- Adding a test for this would probably slow the manipulation tests significantly, but it's simple enough.

12 years agoThe special.handle hook is for origType, not the mapped type.
Dave Methvin [Thu, 10 Nov 2011 02:51:55 +0000 (21:51 -0500)]
The special.handle hook is for origType, not the mapped type.

12 years agoFix #10705. Don't bail too soon in `.off()` event string processing.
Dave Methvin [Thu, 10 Nov 2011 02:29:15 +0000 (21:29 -0500)]
Fix #10705. Don't bail too soon in `.off()` event string processing.

12 years agoRemoving .unbind in favor of .off in jQuery.ready
Daniel Herman [Wed, 9 Nov 2011 05:00:02 +0000 (00:00 -0500)]
Removing .unbind in favor of .off in jQuery.ready

12 years agoFix #10712. Deal with focus/blur morphing to focusin/focusout.
Dave Methvin [Wed, 9 Nov 2011 04:08:04 +0000 (23:08 -0500)]
Fix #10712. Deal with focus/blur morphing to focusin/focusout.

12 years agoFix #10717, .trigger("load") on images can't bubble to window.
Dave Methvin [Wed, 9 Nov 2011 00:32:25 +0000 (19:32 -0500)]
Fix #10717, .trigger("load") on images can't bubble to window.

This means no manually triggered event named "load" can bubble, so avoid that name for delegated custom events.

12 years agoHave Deferred.always return the object onto which it is currently attached to enable...
jaubourg [Wed, 9 Nov 2011 00:02:29 +0000 (01:02 +0100)]
Have Deferred.always return the object onto which it is currently attached to enable true chainability. Fixes #10723. Unit tests added.

12 years agoTake 2 on "Fix ajax to always expect an Error object, per #10646."
Dave Methvin [Tue, 8 Nov 2011 18:12:37 +0000 (13:12 -0500)]
Take 2 on "Fix ajax to always expect an Error object, per #10646."

We can't use jQuery.error to rethrow anymore since it constructs a new Error from its supposedly-string arg. Also, older IE stringifies Error objects into "[object Error]" so I've loosened the unit test criteria.

This reverts commit 586fb059190ecacd89e3cd211c78e776792d2f2b.

12 years agoRevert "Catch one more place where a plain-text error was thrown."
Dave Methvin [Tue, 8 Nov 2011 17:49:58 +0000 (12:49 -0500)]
Revert "Catch one more place where a plain-text error was thrown."

This reverts commit cc4a999648d2623972e6dabad0e6c4b1bb60458a.

12 years agoUpdate Sizzle. Adds document to acceptable nodeTypes for .text(). Fixes #10724.
timmywil [Tue, 8 Nov 2011 20:46:48 +0000 (15:46 -0500)]
Update Sizzle. Adds document to acceptable nodeTypes for .text(). Fixes #10724.

12 years agoCatch one more place where a plain-text error was thrown.
Dave Methvin [Tue, 8 Nov 2011 15:09:53 +0000 (10:09 -0500)]
Catch one more place where a plain-text error was thrown.

12 years agoRefactor clone a bit to only create one clone on any given codepath
timmywil [Tue, 8 Nov 2011 14:48:44 +0000 (09:48 -0500)]
Refactor clone a bit to only create one clone on any given codepath

12 years agoMerge branch 'master' of github.com:jquery/jquery
Dave Methvin [Tue, 8 Nov 2011 14:42:43 +0000 (09:42 -0500)]
Merge branch 'master' of github.com:jquery/jquery

12 years agoFix ajax to always expect an Error object, per #10646.
Dave Methvin [Tue, 8 Nov 2011 14:42:08 +0000 (09:42 -0500)]
Fix ajax to always expect an Error object, per #10646.

12 years agoUpdate Sizzle
timmywil [Tue, 8 Nov 2011 05:06:38 +0000 (00:06 -0500)]
Update Sizzle

12 years agoRemove test of the invalid object for IE9's sake; Rewrite the appropriate support...
timmywil [Tue, 8 Nov 2011 05:05:33 +0000 (00:05 -0500)]
Remove test of the invalid object for IE9's sake; Rewrite the appropriate support test for html5 clone caching. Fixes #10682

12 years agoComment out an ajax test that exposed a bug in Opera, to appease testswarm.
timmywil [Tue, 8 Nov 2011 02:33:03 +0000 (21:33 -0500)]
Comment out an ajax test that exposed a bug in Opera, to appease testswarm.

12 years agoFix busted rnoshimcache. Correctly clone detached unknown elems. Fixes #10667, #10670.
Rick Waldron [Tue, 8 Nov 2011 02:22:04 +0000 (21:22 -0500)]
Fix busted rnoshimcache. Correctly clone detached unknown elems. Fixes #10667, #10670.

- \s => |, Removes 4 bytes from gzipped build

- Adds tests for clone attributes, children and events

12 years agoMerge pull request #585 from dcherman/master
Dave Methvin [Tue, 8 Nov 2011 01:40:55 +0000 (17:40 -0800)]
Merge pull request #585 from dcherman/master

Replace .bind with .on when building event aliases

12 years agoReplace .bind with .on when building event aliases 585/head
Daniel Herman [Mon, 7 Nov 2011 23:04:59 +0000 (18:04 -0500)]
Replace .bind with .on when building event aliases

12 years agoUpdate Sizzle
timmywil [Mon, 7 Nov 2011 16:50:26 +0000 (11:50 -0500)]
Update Sizzle

12 years agoFix #10646. Throw an Error object from `.error()` for IE's sake.
Dave Methvin [Mon, 7 Nov 2011 16:40:39 +0000 (11:40 -0500)]
Fix #10646. Throw an Error object from `.error()` for IE's sake.

12 years agoFix #10690. Make sure `.isNumeric()` can't get a `Date`.
Dave Methvin [Mon, 7 Nov 2011 16:25:51 +0000 (11:25 -0500)]
Fix #10690. Make sure `.isNumeric()` can't get a `Date`.

Also add tests for custom objects with a `.toString()` method.

12 years agoFix #10676. Remove `wheelDelta` from the event props list.
Dave Methvin [Mon, 7 Nov 2011 16:15:18 +0000 (11:15 -0500)]
Fix #10676. Remove `wheelDelta` from the event props list.

A cross-browser solution is best handled in a plugin such as jquery-mousewheel.js .

12 years agoFix #10701, .preventDefault if an inline handler returns false.
Dave Methvin [Mon, 7 Nov 2011 16:07:36 +0000 (11:07 -0500)]
Fix #10701, .preventDefault if an inline handler returns false.

Baby unicorns are slapped each time you use inline handlers, so do it sparingly.

12 years agoAdd back unit in the width/height step function. Fixes #10669.
timmywil [Mon, 7 Nov 2011 15:46:46 +0000 (10:46 -0500)]
Add back unit in the width/height step function. Fixes #10669.

12 years agoSince we fixed .is(POS) let's use it and save bytes.
Dave Methvin [Mon, 7 Nov 2011 01:12:00 +0000 (20:12 -0500)]
Since we fixed .is(POS) let's use it and save bytes.

Also, creates a single jQuery object and reuses it in the delegation-test loop to make it more performancy.

12 years agoMerge pull request #583 from JustinDrake/patch-2
Dave Methvin [Sun, 6 Nov 2011 22:56:48 +0000 (14:56 -0800)]
Merge pull request #583 from JustinDrake/patch-2

`self` instead of `$this`

12 years agoIt seems the convention is to use `self` for caching `jQuery ( this )` instead of... 583/head
Justin [Sun, 6 Nov 2011 22:54:21 +0000 (22:54 +0000)]
It seems the convention is to use `self` for caching `jQuery ( this )` instead of using `$this`.

12 years agoRemoved irrelevant comment.
Matt Mueller [Fri, 14 Oct 2011 09:41:35 +0000 (02:41 -0700)]
Removed irrelevant comment.

12 years agoRemoving a stale line of code in `.data()`
Corey Frang [Sun, 6 Nov 2011 22:24:44 +0000 (17:24 -0500)]
Removing a stale line of code in `.data()`