Remove jquery from outer

This commit is contained in:
yflory
2017-12-01 16:05:20 +01:00
parent c6b8bbea59
commit c59c6072f3
15 changed files with 54 additions and 410 deletions

10
www/common/dom-ready.js Normal file
View File

@@ -0,0 +1,10 @@
define(function () {
return {
onReady: function (cb) {
if (document.readyState === 'complete') { return void cb(); }
document.onreadystatechange = function () {
if (document.readyState === 'complete') { cb(); }
};
}
};
});