thread-pond / signature-pad

A jQuery plugin for assisting in the creation of an HTML5 canvas based signature pad. Records the drawn signature in JSON for later regeneration.
BSD 3-Clause "New" or "Revised" License
727 stars 292 forks source link

Add third argument to `removeEventListener` #149

Closed mockdeep closed 9 years ago

mockdeep commented 9 years ago

This was required in older versions of Firefox, though it's optional now.

https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener

thomasjbradley commented 9 years ago

What version of Firefox did that argument become optional in?

mockdeep commented 9 years ago

It looks like it became optional in version 6. We're still seeing some users as far back as Firefox 3.6, so figured this would be an easy way to support them.