montagejs/montage — pull request #1089 by Stuk (2013-01-06 15:10:41+00:00)
Title: Change readyState needed to "interactive"

The document readyState is "interactive" after DOMContentLoaded, and "complete" after load.

If montage.js loaded after DOMContentLoaded/"interactive" but before load/"complete", then domLoad would never be called. This commit fixes this.

Note: this change would allow the montage.js script tag to use the `async` attribute