airportyh/testem — pull request #9 by EndangeredMassa (2012-06-12 19:24:32+00:00)
Title: Wrap default jasmine test runner logic in window.onload

This change should break any existing spec suites. It wraps the jasmine suite execution in a `window.onload` event and moves it up in the DOM. This better replicates the default runner in, for example, the jasmine gem.

For my use, I need this change because I stub out window.onload in order to defer the execution of the suite. I also thought that other people might find it useful if the default jasmine runner acted the same as the jasmine gem.