blackberry-webworks/BB10-WebWorks-Framework — pull request #228 by bryanhiggins (2012-10-25 19:59:26+00:00)
Title: Updating webworks.js to allow injection into the DOM onload

Listen to readystatechange event rather than DOMContentLoaded for determining when to build window.webworks.

See discussion in:

https://github.com/blackberry-webworks/BB10-WebWorks-Framework/pull/218

Here is the test app I used:

https://github.com/bryanhiggins/BB10-WebWorks-TestApps/blob/master/webworksready/index.html