Move all controllers into page definitions and add support for layout profiles
This commit is contained in:
parent
f650479266
commit
d6d11644d8
34 changed files with 3744 additions and 3428 deletions
|
@ -521,6 +521,11 @@ ImageHistoryTree.prototype.pruneUnreferenced_ = function(node) {
|
|||
}
|
||||
node.children = surviving_children;
|
||||
}
|
||||
|
||||
if (!node.tags) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return (node.children.length == 0 && node.tags.length == 0);
|
||||
};
|
||||
|
||||
|
|
Reference in a new issue