mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Add comment about layout components.
This commit is contained in:
parent
ddc7675c13
commit
5f7fd42bcb
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue