event-ready-base-ie.js revision 772f655fcf57e58b97fa46b6a8d3fc772b83f743
011173392d3a1a59092095d5a24857134cb16f93Adam Moore(function() {
772f655fcf57e58b97fa46b6a8d3fc772b83f743Adam Mooreif (docElement.doScroll && !GLOBAL_ENV._ieready) {
011173392d3a1a59092095d5a24857134cb16f93Adam Moore/*! DOMReady: based on work by: Dean Edwards/John Resig/Matthias Miller/Diego Perini */
011173392d3a1a59092095d5a24857134cb16f93Adam Moore// Internet Explorer: use the doScroll() method on the root element.
011173392d3a1a59092095d5a24857134cb16f93Adam Moore// This isolates what appears to be a safe moment to manipulate the
011173392d3a1a59092095d5a24857134cb16f93Adam Moore// DOM prior to when the document's readyState suggests it is safe to do so.
011173392d3a1a59092095d5a24857134cb16f93Adam Moore GLOBAL_ENV.Env.remove(doc, EVENT_NAME, stateChangeListener);