bem / bem-xjst

bem-xjst (eXtensible JavaScript Templates): declarative template engine for the browser and server
https://bem.github.io/bem-xjst
Other
115 stars 48 forks source link

Prevent multiple calls of add* methods on the same node #535

Open qfox opened 5 years ago

qfox commented 5 years ago

Input code or something about issue background

https://goo.gl/s5bqTS

Expected Behavior

addAttrs function will be ran once per node

Actual Behavior

addAttrs executes few times (applyNext forces it)

Possible Solution

Idk ;-(

Your Environment

8.x, sandbox