0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2025-02-24 07:45:53 -05:00
Squire/build
Neil Jenkins b69a1635de Use mutation observers where possible to detect change
We need to know when the document is modified in order to fire an "input" event
and set the undo/redo state correctly. Observing keyup is imprecise, as it's
hard to tell whether the key press actually modified anything. Newer browsers
support mutation observers, which tell you precisely when something has changed.
For IE9/10, Opera 12 and other older browsers, we fall back to observing keyup
again.

Fixes #26.
2014-12-27 13:48:15 +07:00
..
document.html Remove IE8 support. 2014-11-29 20:08:53 +07:00
squire-raw.js Use mutation observers where possible to detect change 2014-12-27 13:48:15 +07:00
squire.js Use mutation observers where possible to detect change 2014-12-27 13:48:15 +07:00