mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-26 23:54:23 +01:00
EventHandler: rename functions & variables
This commit is contained in:
parent
505e0235b9
commit
66fcd62569
@ -170,10 +170,10 @@ function addHandler(element, originalTypeEvent, handler, delegationFunction, one
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
const uid = makeEventUid(callable, originalTypeEvent.replace(namespaceRegex, ''))
|
const uid = getUidEvent(originalHandler, originalTypeEvent.replace(namespaceRegex, ''))
|
||||||
const fn = isDelegated ?
|
const fn = delegation ?
|
||||||
bootstrapDelegationHandler(element, handler, callable) :
|
bootstrapDelegationHandler(element, handler, delegationFunction) :
|
||||||
bootstrapHandler(element, callable)
|
bootstrapHandler(element, handler)
|
||||||
|
|
||||||
fn.delegationSelector = isDelegated ? handler : null
|
fn.delegationSelector = isDelegated ? handler : null
|
||||||
fn.callable = callable
|
fn.callable = callable
|
||||||
|
Loading…
x
Reference in New Issue
Block a user