From e51f653c598eb46119abb7816c083bce2396003c Mon Sep 17 00:00:00 2001 From: nharshunova Date: Mon, 14 Feb 2022 14:49:17 +0300 Subject: [PATCH] feat(state): rename method --- src/core/base/model.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/base/model.ts b/src/core/base/model.ts index 33bdaae0..4b2799f6 100644 --- a/src/core/base/model.ts +++ b/src/core/base/model.ts @@ -45,7 +45,7 @@ export class UIPStateModel extends Observable { if (!root || root.innerHTML !== this.html) { this._html = root; this._lastModifier = modifier; - this.promisifiedFiring(); + this.promisifyFiring(); } } @@ -75,10 +75,10 @@ export class UIPStateModel extends Observable { UIPStateModel.setAttribute(elements, attribute, 'transform' in cfg ? cfg.transform : cfg.value); this._lastModifier = modifier; - this.promisifiedFiring(); + this.promisifyFiring(); } - protected promisifiedFiring() { + protected promisifyFiring() { if (!this._isFired) { this._isFired = true; Promise.resolve().then(() => {