Rick Waldron
64df670a81
Remove unnec .call( this... from one: function() {}. Fixes #10819
2011-12-06 16:27:38 -05:00
Mike Sherov
2c1d2b1a4d
Fix #10754 . Have jQuery.swap() return the value of its callback.
2011-12-06 16:23:22 -05:00
RafaC3ABl Blais Masson
0fcfac7568
Refine the jQuery.isWindow check.
2011-12-06 16:17:09 -05:00
Rick Waldron
166b9d252a
Fix #10466 . jQuery.param() should treat object-wrapped primitives as primitives.
2011-12-06 16:02:54 -05:00
Richard Gibson
6c2a501de4
Fix #5571 . Setters should treat undefined
as a no-op and be chainable.
2011-12-06 15:25:38 -05:00
Dave Methvin
d511613d74
Updating the source version to 1.7.2pre
2011-11-21 21:11:33 -05:00
Dave Methvin
255460e483
Tagging the 1.7.1 release.
2011-11-21 21:11:03 -05:00
Dave Methvin
3586ea28a8
Revert "Landing pull request 581. Updates original patch by Orkel. Fixes #10006."
...
This reverts commit 299bc655c9
.
2011-11-21 20:53:56 -05:00
Rick Waldron
ca08d93b72
Ensure all elements are removed from 10006 test block
2011-11-21 20:45:24 -05:00
Dave Methvin
dff11c0392
Update release notes version.
2011-11-21 20:04:18 -05:00
Rick Waldron
299bc655c9
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
2011-11-21 13:25:46 -05:00
Rick Waldron
65d3dc6955
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
2011-11-21 13:25:07 -05:00
Dave Methvin
8cb065addc
Fix #10844 . Harden quickIs() against form-aliasing of the id property.
2011-11-21 11:33:21 -05:00
timmywil
1eb1ad6160
Remove rdigit now that it is no longer necessary
2011-11-18 11:45:12 -05:00
timmywil
fb94277b6e
No global vars allowed. Declare 'body' in support.
2011-11-18 09:29:10 -05:00
Dave Methvin
d459bd40d0
Update version.
2011-11-17 19:14:39 -05:00
Dave Methvin
60e2479436
Updating the source version to 1.7.1pre
2011-11-17 19:07:03 -05:00
Dave Methvin
8485e420df
Tagging the 1.7.1rc1 release.
2011-11-17 19:06:35 -05:00
Rick Waldron
327bc07c54
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
2011-11-17 15:02:38 -05:00
timmywil
3d6237ef8a
Remove the invisible body in support; Add temporary tests to verify correct support completions for upcoming support changes.
2011-11-17 14:48:27 -05:00
Dave Methvin
0de484d483
Use .wrapAll to wrap both text nodes in #10812 so IE9 likey.
2011-11-17 14:15:42 -05:00
Dave Methvin
dd845a2c0f
Fix #10812 , let .before() and .after() work on empty collections.
2011-11-17 11:47:56 -05:00
timmywil
7c2d6c8cd8
Fix error in test suite from testElementCrash.html; did not have callbacks.js
2011-11-16 11:39:34 -05:00
Dave Methvin
780c59b89d
Fix #10791 . SVG clamors for special treatment of its class names.
2011-11-16 10:35:53 -05:00
Dave Methvin
80797f5805
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.
2011-11-15 21:06:53 -05:00
Dave Methvin
ca8fc725ac
Allow mapped types to be removed by a namespace-only type name.
2011-11-15 11:38:55 -05:00
Dave Methvin
6736dd7168
Fix #10794 . .triggerHandler() should not .preventDefault().
...
This also provides a resolution for #10699 .
2011-11-15 10:23:24 -05:00
timmywil
20cbf1b123
Microoptimization in jQuery.attr and remove the redundancy of return undefined
2011-11-14 12:31:28 -05:00
Rick Waldron
a8460d24e0
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
2011-11-14 12:24:58 -05:00
jrburke
8bc60bab5d
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
2011-11-14 12:13:25 -05:00
Corey Frang
499d7e409c
Ensuring that nulls in private data object won't cause errors on stop() - Fixes #10750
2011-11-14 11:36:36 -05:00
Oleg
a467aa0a77
Fix #10773 . Improve parameter handling in removeAttr.
2011-11-14 11:30:53 -05:00
Dave Methvin
fa96f4bdee
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 .
2011-11-13 21:32:07 -05:00
Dave Methvin
d2815ed750
Disable DOM focusin test since it can't really work in the swarm.
2011-11-13 21:03:36 -05:00
Dave Methvin
683be093a6
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!
2011-11-13 20:50:36 -05:00
Mike Sherov
e0a4aa415d
use for loop instead of jQuery.each in getWH()
2011-11-10 21:59:45 -05:00
Dave Methvin
774eba3388
Avoid collateral damage when removing bindType/delegateType special events.
2011-11-10 21:53:07 -05:00
Dave Methvin
5ba7f60822
Ensure the hover event doesn't match hovercraft. Witchcraft, maybe.
2011-11-10 18:05:58 -05:00
timmywil
d589709851
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.
2011-11-10 10:31:40 -05:00
Dave Methvin
e977a85b87
The special.handle hook is for origType, not the mapped type.
2011-11-09 21:51:55 -05:00
Dave Methvin
dd363d2c0f
Fix #10705 . Don't bail too soon in .off()
event string processing.
2011-11-09 21:29:15 -05:00
Daniel Herman
654930de21
Removing .unbind in favor of .off in jQuery.ready
2011-11-09 20:30:08 -05:00
Dave Methvin
39f9b846e7
Fix #10712 . Deal with focus/blur morphing to focusin/focusout.
2011-11-08 23:08:04 -05:00
Dave Methvin
45101de696
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.
2011-11-08 19:32:25 -05:00
jaubourg
2a9f0681de
Have Deferred.always return the object onto which it is currently attached to enable true chainability. Fixes #10723 . Unit tests added.
2011-11-09 01:02:29 +01:00
Dave Methvin
c3600e261b
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 586fb05919
.
2011-11-08 15:52:30 -05:00
Dave Methvin
d8e2b4b6e4
Revert "Catch one more place where a plain-text error was thrown."
...
This reverts commit cc4a999648
.
2011-11-08 15:52:29 -05:00
timmywil
0cc806fd88
Update Sizzle. Adds document to acceptable nodeTypes for .text(). Fixes #10724 .
2011-11-08 15:47:03 -05:00
Dave Methvin
cc4a999648
Catch one more place where a plain-text error was thrown.
2011-11-08 10:09:53 -05:00
timmywil
f0e43fad37
Refactor clone a bit to only create one clone on any given codepath
2011-11-08 09:48:57 -05:00