delegate icon indicating copy to clipboard operation
delegate copied to clipboard

why the fn callback is only called instead returned?

Open timaschew opened this issue 11 years ago • 1 comments

in line: https://github.com/component/delegate/blob/master/index.js#L26

is there a reason why it's not if (e.delegateTarget) return fn.call(el, e); ?

timaschew avatar Mar 18 '14 16:03 timaschew

Most likely just an oversight. I'll take a pull request to return the result of the function call.

TooTallNate avatar Jun 21 '14 18:06 TooTallNate