mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-15 11:59:39 +03:00
EventHandler: rename functions & variables
This commit is contained in:
@@ -170,10 +170,10 @@ function addHandler(element, originalTypeEvent, handler, delegationFunction, one
|
||||
return
|
||||
}
|
||||
|
||||
const uid = makeEventUid(callable, originalTypeEvent.replace(namespaceRegex, ''))
|
||||
const fn = isDelegated ?
|
||||
bootstrapDelegationHandler(element, handler, callable) :
|
||||
bootstrapHandler(element, callable)
|
||||
const uid = getUidEvent(originalHandler, originalTypeEvent.replace(namespaceRegex, ''))
|
||||
const fn = delegation ?
|
||||
bootstrapDelegationHandler(element, handler, delegationFunction) :
|
||||
bootstrapHandler(element, handler)
|
||||
|
||||
fn.delegationSelector = isDelegated ? handler : null
|
||||
fn.callable = callable
|
||||
|
||||
Reference in New Issue
Block a user