Skip to content

Commit

Permalink
feat(state): rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
nattallius committed Feb 14, 2022
1 parent 58c8304 commit e51f653
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/base/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

Expand Down Expand Up @@ -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(() => {
Expand Down

0 comments on commit e51f653

Please sign in to comment.