Closed mikermcneil closed 10 years ago
Can't remove a child component/template from a region if that child template has an index of 0-- i.e.
// in a component somewhere: this.myRegion.remove(0); // doesn't work this.myRegion.remove(4); // works fine
Probably just a == that needs to be an === or a ! that needs to be a typeof x==='undefined'
==
===
!
typeof x==='undefined'
Actually calls to remove() with other indices are also failing
remove()
Actually not 100% sure this is true-- will double-check.
Doh nevermind it's golden. Sorry!
Can't remove a child component/template from a region if that child template has an index of 0-- i.e.
Probably just a
==
that needs to be an===
or a!
that needs to be atypeof x==='undefined'