From 5f7fd42bcb3634220f0a4d4f076dc01cd96848d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sat, 4 Oct 2014 19:39:17 +0200 Subject: [PATCH] Add comment about layout components. --- src/ui/Component.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui/Component.js b/src/ui/Component.js index a72a9ca8..adb53e55 100644 --- a/src/ui/Component.js +++ b/src/ui/Component.js @@ -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.