mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 07:13:08 -05:00
946afc9a17
If you removed an event listener whilst it was being fired, this would alter the list of handlers, which would cause the fireEvent function to read past the end of the array (and to skip the next listener). Now, we clone the array of listeners before firing, so adding/removing listeners has no effect on an already firing event. |
||
---|---|---|
.. | ||
Constants.js | ||
document.html | ||
Editor.js | ||
ie8dom.js | ||
ie8range.js | ||
ie8types.js | ||
intro.js | ||
Node.js | ||
outro.js | ||
Range.js | ||
TreeWalker.js |