event-propagation-path icon indicating copy to clipboard operation
event-propagation-path copied to clipboard

Why not name the function composedPath() ?

Open brian-murphy opened this issue 6 years ago • 1 comments

Hi Dieter, I appreciate that you took the time to publish this for all the rest of us. Just curious though, is there a reason that you named it propagationPath() rather than matching the name of the function it is shimming, composedPath()? A nice enhancement would be using the native function if it is already present, but that won't be possible if the function is named differently.

Thanks, Brian

brian-murphy avatar Mar 27 '19 16:03 brian-murphy

I can't remember if there was a reason to give it a different name. Have you tried implementing you suggestion, and if yes, does it work on all browsers?

DieterHolvoet avatar Mar 27 '19 17:03 DieterHolvoet