checkpoint kiri module migration work
This commit is contained in:
parent
e341b98849
commit
7d22cc1029
201 changed files with 41262 additions and 85 deletions
22
src2/main/kiri.js
Normal file
22
src2/main/kiri.js
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
/** Copyright Stewart Allen <sa@grid.space> -- All Rights Reserved */
|
||||
|
||||
import '../add/array.js';
|
||||
import '../add/class.js';
|
||||
import '../add/three.js';
|
||||
import '../kiri/lang.js';
|
||||
import '../kiri/lang-en.js';
|
||||
import { run } from '../kiri/init.js';
|
||||
|
||||
console.log('KIRI V2');
|
||||
|
||||
function checkReady() {
|
||||
if (document.readyState === 'complete') {
|
||||
console.trace('READY!');
|
||||
run();
|
||||
}
|
||||
}
|
||||
|
||||
// when dom + scripts complete
|
||||
document.onreadystatechange = checkReady;
|
||||
|
||||
checkReady();
|
||||
Loading…
Reference in a new issue