aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation/var
diff options
context:
space:
mode:
authorRichard Gibson <richard.gibson@gmail.com>2017-01-11 15:19:30 -0700
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2019-03-20 16:40:16 +0100
commit669f720edc4f557dfef986db747c09ebfaa16ef5 (patch)
treedba33f1b3713faa4d2e6e3cfedbd0795a28261cb /src/manipulation/var
parenta0abd15b9e5aa9c1f36a9599e6095304825a7b9f (diff)
downloadjquery-669f720edc4f557dfef986db747c09ebfaa16ef5.tar.gz
jquery-669f720edc4f557dfef986db747c09ebfaa16ef5.zip
Event: Leverage native events for focus/blur/click; propagate additional data
Summary of the changes/fixes: 1. Trigger checkbox and radio click events identically (cherry-picked from b442abacbb8464f0165059e8da734e3143d0721f that was reverted before). 2. Manually trigger a native event before checkbox/radio handlers. 3. Add test coverage for triggering namespaced native-backed events. 4. Propagate extra parameters passed when triggering the click event to the handlers. 5. Intercept and preserve namespaced native-backed events. 6. Leverage native events for focus and blur. 7. Accept that focusin handlers may fire more than once for now. Fixes gh-1741 Fixes gh-3423 Fixes gh-3751 Fixes gh-4139 Closes gh-4279 Ref gh-1367 Ref gh-3494
Diffstat (limited to 'src/manipulation/var')
-rw-r--r--src/manipulation/var/rcheckableType.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/manipulation/var/rcheckableType.js b/src/manipulation/var/rcheckableType.js
deleted file mode 100644
index 25bbcb418..000000000
--- a/src/manipulation/var/rcheckableType.js
+++ /dev/null
@@ -1,5 +0,0 @@
-define( function() {
- "use strict";
-
- return ( /^(?:checkbox|radio)$/i );
-} );