Add comment about layout components.

This commit is contained in:
Jürg Lehni 2014-10-04 19:39:17 +02:00
parent ddc7675c13
commit 5f7fd42bcb

View file

@ -107,6 +107,8 @@ var Component = Base.extend(Callback, /** @lends Component# */{
element,
className;
if (!type) {
// No type defined, so we're dealing with a layout component that
// contains nested child components.
var columns = props.columns,
// On the root element, we need to create the table and row even
// if it's a columns layout.