fix(core): update
This commit is contained in:
parent
9fa8754a15
commit
28d9d62bb4
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@pushrocks/smartntml',
|
name: '@pushrocks/smartntml',
|
||||||
version: '1.0.7',
|
version: '1.0.8',
|
||||||
description: 'lit-html for the backend'
|
description: 'lit-html for the backend'
|
||||||
}
|
}
|
||||||
|
@ -16,6 +16,7 @@ export class Smartntml {
|
|||||||
if (this.smartntmlSingletonDeferred) {
|
if (this.smartntmlSingletonDeferred) {
|
||||||
return this.smartntmlSingletonDeferred.promise;
|
return this.smartntmlSingletonDeferred.promise;
|
||||||
}
|
}
|
||||||
|
this.smartntmlSingletonDeferred = plugins.smartpromise.defer();
|
||||||
const smartntmlInstance = await this.createAndInit();
|
const smartntmlInstance = await this.createAndInit();
|
||||||
this.smartntmlSingletonDeferred.resolve(smartntmlInstance);
|
this.smartntmlSingletonDeferred.resolve(smartntmlInstance);
|
||||||
return this.smartntmlSingletonDeferred.promise;
|
return this.smartntmlSingletonDeferred.promise;
|
||||||
|
Loading…
Reference in New Issue
Block a user