chore: runs clang format on all files (#5627)

This commit is contained in:
alschmiedt
2021-10-21 15:22:24 -07:00
committed by GitHub
parent 6dc0f90959
commit 0f3c06306f
36 changed files with 209 additions and 130 deletions

View File

@@ -118,7 +118,8 @@ CollapsibleToolboxCategory.prototype.parseContents_ = function(categoryDef) {
// Separators can exist as either a flyout item or a toolbox item so
// decide where it goes based on the type of the previous item.
if (!registry.hasItem(registry.Type.TOOLBOX_ITEM, itemDef['kind']) ||
(itemDef['kind'].toLowerCase() === ToolboxSeparator.registrationName &&
(itemDef['kind'].toLowerCase() ===
ToolboxSeparator.registrationName &&
prevIsFlyoutItem)) {
const flyoutItem = /** @type {toolbox.FlyoutItemInfo} */ (itemDef);
this.flyoutItems_.push(flyoutItem);