Return the inserted item in #addChild() & co, instead of true / false.

This commit is contained in:
Jürg Lehni 2012-11-06 12:44:02 -08:00
parent 28642bd1c8
commit c70948c762

View file

@ -1147,9 +1147,9 @@ function(name) {
if (item._name)
item.setName(item._name);
this._changed(/*#=*/ Change.HIERARCHY);
return true;
return item;
}
return false;
return null;
},
/**