aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation.js
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.js
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.js')
-rw-r--r--src/manipulation.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/manipulation.js b/src/manipulation.js
index a24a5cc0c..7dbc92689 100644
--- a/src/manipulation.js
+++ b/src/manipulation.js
@@ -4,8 +4,8 @@ define( [
"./var/concat",
"./var/isFunction",
"./var/push",
+ "./var/rcheckableType",
"./core/access",
- "./manipulation/var/rcheckableType",
"./manipulation/var/rtagName",
"./manipulation/var/rscriptType",
"./manipulation/wrapMap",
@@ -24,8 +24,8 @@ define( [
"./traversing",
"./selector",
"./event"
-], function( jQuery, isAttached, concat, isFunction, push, access,
- rcheckableType, rtagName, rscriptType,
+], function( jQuery, isAttached, concat, isFunction, push, rcheckableType,
+ access, rtagName, rscriptType,
wrapMap, getAll, setGlobalEval, buildFragment, support,
dataPriv, dataUser, acceptData, DOMEval, nodeName ) {