Closed ryanjadhav closed 9 years ago
Currently we're using window.addEventListener in this project. To support older versions of IE (<IE9) we should use a function like:
window.addEventListener
function addListener (eventType, cb) { if (addEventListener) { addEventListener(eventType, cb, false); } else if (attachEvent) { attachEvent(eventType, cb); } } function removeListener (eventType, cb) { if (removeEventListener) { removeEventListener(eventType, cb, false); } else if (removeEvent) { removeEvent(eventType, cb); } }
do we want <ie9 support?
There might also be changes needed in the track and viewable functions. When making appear I decided to support ie9 and up, but that's not explicitly stated and maybe it should
track
viewable
Currently we're using
window.addEventListener
in this project. To support older versions of IE (<IE9) we should use a function like: