fix(core): update

This commit is contained in:
Philipp Kunz 2023-04-05 16:46:13 +02:00
parent bb64a8ecac
commit 94c6c5a525
2 changed files with 4 additions and 4 deletions

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@designestate/dees-domtools', name: '@designestate/dees-domtools',
version: '2.0.29', version: '2.0.30',
description: 'tools to simplify complex css structures' description: 'tools to simplify complex css structures'
} }

View File

@ -152,7 +152,7 @@ export class DomTools {
public async setExternalScript(scriptLinkArg: string) { public async setExternalScript(scriptLinkArg: string) {
await this.domReady.promise; await this.domReady.promise;
const done = plugins.smartpromise.defer(); const done = plugins.smartpromise.defer();
const script = document.createElement('script') const script = document.createElement('script');
script.src = scriptLinkArg; script.src = scriptLinkArg;
script.addEventListener('load', function () { script.addEventListener('load', function () {
done.resolve(); done.resolve();