yuanyan / ming

High-productivity JavaScript Solution
modulejs.github.io/ming
Other
51 stars 14 forks source link

Onready runs brefore the js files are all loaded #1

Closed zhiyan closed 11 years ago

zhiyan commented 12 years ago

line 256: DOM.addEventListener("DOMContentLoaded", run, false);

when in FF or chrome or other browsers which support the handler "DOMContentLoaded" lead to a problem that the onready function run brefore js files have loaded. then browser throw the error.please confirm it.