revert 1b8938ed76, it has nasty side effects, @{this} should be used anyway

This commit is contained in:
jean-emmanuel 2018-02-14 19:47:21 +01:00
parent 192a65acb5
commit a5fbe2efe8

View file

@ -239,8 +239,6 @@ class Widget extends EventEmitter {
}
if (id == this.getProp('id')) id = 'this'
var widgets = id == 'parent' && this.parent ?
[this.parent] : id == 'this' ? [this] :
widgetManager.getWidgetById(id)