fix(core): update
This commit is contained in:
		| @@ -15,10 +15,15 @@ export const elementBasicSetup = async () => { | ||||
|     const documentReady = defer(); | ||||
|     document.onreadystatechange = () => { | ||||
|       if (document.readyState === 'interactive' || document.readyState === 'complete') { | ||||
|         console.log('elementBasicSetup: element basic setup complete') | ||||
|         documentReady.resolve(); | ||||
|       } else { | ||||
|         console.log('elementBasicSetup: document not yet ready'); | ||||
|       } | ||||
|     }; | ||||
|     console.log('elementBasicSetup: waiting for document to be ready'); | ||||
|     await documentReady.promise; | ||||
|     console.log('elementBasicSetup: document ready!'); | ||||
|  | ||||
|     // lets get started | ||||
|     const head = document.querySelector('head'); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user