fix(core): update
This commit is contained in:
parent
bb64a8ecac
commit
94c6c5a525
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@designestate/dees-domtools',
|
||||
version: '2.0.29',
|
||||
version: '2.0.30',
|
||||
description: 'tools to simplify complex css structures'
|
||||
}
|
||||
|
@ -152,9 +152,9 @@ export class DomTools {
|
||||
public async setExternalScript(scriptLinkArg: string) {
|
||||
await this.domReady.promise;
|
||||
const done = plugins.smartpromise.defer();
|
||||
const script = document.createElement('script')
|
||||
const script = document.createElement('script');
|
||||
script.src = scriptLinkArg;
|
||||
script.addEventListener('load', function() {
|
||||
script.addEventListener('load', function () {
|
||||
done.resolve();
|
||||
});
|
||||
const parentNode = document.head || document.body;
|
||||
|
Loading…
Reference in New Issue
Block a user