Closed arikon closed 9 years ago
this.ctx.js = force ?
→ this.ctx.js = force || this.ctx.js === undefined ?
plus specs?
@mishanga Thanks!
@mishanga А в bh 3.x
есть такая ошибка? Если да, то мы не сможем из islands
оторвать костылик про это.
@arikon да, выпустил 3.3.1
@mishanga Спасибо!
@arikon блин, не так сделал. Выпущу пакет bh-3x с этим фиксом.
After the second call to
ctx.js(true)
the value ofjs
is true. Should befalse
.js()
implementation in BH: https://github.com/bem/bh/blob/master/lib/bh.js#L437-L445 It seems that after the first calljson.js
staysundefined
. On the second call this happens:this.extend(undefined, true)
And then returns this: https://github.com/bem/bh/blob/master/lib/bh.js#L92