aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/event.js
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixes #10477. Get `.off(type, null, fn)` right.Dave Methvin2011-10-111-2/+13
|
* Rename jQuery.event.propHooks to .fixHooks.Dave Methvin2011-10-051-12/+6
| | | | We already have jQuery.propHooks for the .prop() method, so using the same name for unrelated functionality on a sub-namespace is crazy talk. Since the method involved is jQuery.event.fix(), this will hopefully tie them together. Oh, and it's shorter.
* Fix #10375. Don't put `type` in jQuery.event.propsDave Methvin2011-09-291-1/+4
| | | | It's already set in jQuery.Event, and copying it can clobber values set by the caller, e.g., the UI widget factory.
* Restore original click prop hookRick Waldron2011-09-261-0/+1
|
* Fixed tests to run in IE9Rick Waldron2011-09-261-16/+19
|
* Minor cleanups to code. Futile effort to get IE to pass the unit test.Dave Methvin2011-09-251-3/+2
|
* propHooks now an object with `props` array and `filter` function.Dave Methvin2011-09-251-68/+32
| | | | Use the originalEvent to grab properties in filter functions since they often won't have been copied to event. Mark a few current props in the main jQuery.event.props list as deprecated, they aren't supported across all browsers.
* Merge branch '8789-fun-with-fix' of https://github.com/rwldrn/jquery into ↵Dave Methvin2011-09-241-4/+63
|\ | | | | | | | | | | | | | | fix-8789-rwldrn-fix Conflicts: src/event.js test/unit/event.js
| * Adds implementation tests for jQuery.event.propHooks #8789Rick Waldron2011-09-201-6/+65
| |
* | Remove the rarely-used pseudos from quickis.htmlDave Methvin2011-09-211-10/+7
|/ | | | The cutting will continue until file size is improved.
* Fix #9901, verified by this unit test.Dave Methvin2011-09-201-1/+3
|
* Rework #1486 patch to avoid `try/catch` and look for hidden elements by ↵Dave Methvin2011-09-191-0/+25
| | | | `.offsetWidth`. Unit test currently disabled due to Chrome bug.
* Fixes for IE8. Avoid killer recursion in special events during removal. Use ↵Dave Methvin2011-09-191-3/+12
| | | | q instead of quote in unit tests.
* Rework the special events interface to add handle and trigger hooks. Modify ↵Dave Methvin2011-09-191-0/+3
| | | | IE change/submit special events to take advantage of them. Rewrite mouseover/enter code as special events rather than inline code. In the event unit test, set a tabindex on the div element and focus it first to justify a legitimate blur event.
* Fixes #8858. Pass the .trigger(..., data) to the event.special._default method.Dave Methvin2011-09-191-5/+6
|
* Add unit tests for quickIs cases and fix the regexp as a result.Dave Methvin2011-09-191-5/+37
|
* Cleanup for on/off unit test.Dave Methvin2011-09-191-4/+5
|
* jQuery 1.7 event work:Dave Methvin2011-09-191-2/+110
| | | | | | | | Add .on() and .off() methods. Write existing methods in terms of on/off. Rewrite delegated handling to remove "live" event. Fix existing code for jQuery style guide. Fix existing bug in unit tests calling .undelegate()
* Fix bad calls to .undelegate().Dave Methvin2011-09-191-11/+4
| | | | Remove two tests that assume "live" data structure.
* Fix #10208. Check for `button` as well as `input` when performing the #7071 ↵Dave Methvin2011-09-071-1/+5
| | | | VML crash workaround for IE special-events submit code.
* Removes empty, duplicate named test block. Fixes #9914Rick Waldron2011-07-261-5/+2
|
* Landing pull request 397. withinElement rewrite in event. Fixes #6234, ↵rwldrn2011-06-141-0/+37
| | | | | | | | | | #9357, #9447. More Details: - https://github.com/jquery/jquery/pull/397 - http://bugs.jquery.com/ticket/6234 - http://bugs.jquery.com/ticket/9357 - http://bugs.jquery.com/ticket/9447
* Landing pull request 377. Check custom data != null(undefined), allows zero; ↵Rick Waldron2011-05-161-0/+20
| | | | | | | | Fixes #9285. More Details: - https://github.com/jquery/jquery/pull/377 - http://bugs.jquery.com/ticket/9285
* Restored /g flag to rspaces; Adds unit tests; Supplements #9008Rick Waldron2011-04-281-0/+16
|
* Fix live mouseenter and mouseleave binding so they can be activated by ↵Brian Brennan2011-04-171-2/+19
| | | | triggers. Fixes #6514.
* Switch QUnit div from depreceted #main to #qunit-fixturetimmywil2011-04-171-19/+19
|
* Add in unit tests for #6993.John Resig2011-04-161-1/+7
|
* Fix test suite fail in IE6/7 on event:undelegate - was failing an if where ↵timmywil2011-04-131-2/+2
| | | | it shouldn't
* Merge branch 'fix_suite_fails' of https://github.com/timmywil/jquery into ↵Dave Methvin2011-04-121-0/+2
|\ | | | | | | timmywil-fix_suite_fails
| * VML.type test was causing multiple test suite fails, fix attributes.js fail ↵timmywil2011-04-121-0/+2
| | | | | | | | in IE6 where the val(String/Number) tests were interfering with the val(Function) tests
* | Followup to #8753. Modify new Event constructor signature to ↵Dave Methvin2011-04-121-2/+2
|/ | | | jQuery.event(type, props), which can be exploited by jQuery.event.trigger as well.
* Accessing the 'type' property on VML elements fails on IE. Fixes #7071.John Firebaugh2011-04-121-0/+3
|
* revert last commitlouisremi2011-04-121-1/+1
|
* switch double quotes with single quoteslouisremi2011-04-121-1/+1
|
* merge with master and resolve more conflictslouisremi2011-04-121-0/+21
|\
| * Merge branch '8777' of https://github.com/rwldrn/jquery into rwldrn-8777jeresig2011-04-111-0/+21
| |\ | | | | | | | | | | | | Conflicts: src/event.js
| | * Ticket #8777 undelegate by namespacerwldrn2011-04-051-6/+28
| | |
* | | third batchlouisremi2011-04-121-90/+90
|/ /
* | Merge branch 'eventprops.1.6final' of https://github.com/rwldrn/jquery into ↵jeresig2011-04-101-0/+22
|\ \ | | | | | | | | | | | | | | | | | | rwldrn-eventprops.1.6final Conflicts: test/unit/event.js
| * | Ticket #8753 Allow special properties to explicitly defined on jQuery.Event ↵rwldrn2011-04-051-6/+23
| |/ | | | | | | objects
* | Fixes #8722. Remove try/catch used by #3533 to fix the IE Table Colon Blow ↵Dave Methvin2011-04-071-0/+13
| | | | | | | | bug, and instead check for colon in the event name. Thanks to daguej for scoping this out -- a colonoscopy you might say.
* | Fixes #8712. Bubble custom events to the window when they are triggered. ↵Dave Methvin2011-04-061-2/+6
| | | | | | | | Ride that, Cowboy!
* | Merge branch 'domready' of https://github.com/cowboy/jqueryDave Methvin2011-04-051-13/+79
|\ \
| * | Updated DOM ready unit tests.Ben Alman2011-03-311-5/+4
| | |
| * | DOM Ready unit tests (but not the supporting fixed code).Ben Alman2011-03-311-13/+80
| |/
* | Shorten up the code and do event cleanup on test cases.Dave Methvin2011-04-051-0/+2
| |
* | Merge branch 'ticket_7883' of https://github.com/rwldrn/jquery into ↵Dave Methvin2011-04-051-0/+39
|\ \ | |/ |/| | | rwldrn-ticket_7883
| * #7883 .delegate and .live should accept false as the fn arg, like bindrwldrn2011-01-011-0/+39
| |
* | Followup commit for #7340 test case; make sure second test fires properly on ↵Dave Methvin2011-03-311-2/+7
| | | | | | | | IE by focusing to another element rather than blurring off the first.
* | Merge branch 'fix-8456-lost-mouseenter' of ↵jeresig2011-03-211-0/+14
|\ \ | | | | | | | | | https://github.com/dmethvin/jquery into dmethvin-fix-8456-lost-mouseenter