From 81ecd4499cf02e04b6b8c1f4582e67263d9d7c75 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 2 Mar 2017 14:32:38 -0800 Subject: [PATCH] Make exported properties match class names --- lib/browser/api/touch-bar.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/browser/api/touch-bar.js b/lib/browser/api/touch-bar.js index 1698844c2077..4957f248d6ce 100644 --- a/lib/browser/api/touch-bar.js +++ b/lib/browser/api/touch-bar.js @@ -111,7 +111,7 @@ class TouchBarItem extends EventEmitter { } } -TouchBar.Button = class TouchBarButton extends TouchBarItem { +TouchBar.TouchBarButton = class TouchBarButton extends TouchBarItem { constructor (config) { super() if (config == null) config = {} @@ -126,7 +126,7 @@ TouchBar.Button = class TouchBarButton extends TouchBarItem { } } -TouchBar.ColorPicker = class TouchBarColorPicker extends TouchBarItem { +TouchBar.TouchBarColorPicker = class TouchBarColorPicker extends TouchBarItem { constructor (config) { super() if (config == null) config = {} @@ -144,7 +144,7 @@ TouchBar.ColorPicker = class TouchBarColorPicker extends TouchBarItem { } } -TouchBar.Group = class TouchBarGroup extends TouchBarItem { +TouchBar.TouchBarGroup = class TouchBarGroup extends TouchBarItem { constructor (config) { super() if (config == null) config = {} @@ -156,7 +156,7 @@ TouchBar.Group = class TouchBarGroup extends TouchBarItem { } } -TouchBar.Label = class TouchBarLabel extends TouchBarItem { +TouchBar.TouchBarLabel = class TouchBarLabel extends TouchBarItem { constructor (config) { super() if (config == null) config = {} @@ -165,7 +165,7 @@ TouchBar.Label = class TouchBarLabel extends TouchBarItem { } } -TouchBar.Spacer = class TouchBarSpacer extends TouchBarItem { +TouchBar.TouchBarSpacer = class TouchBarSpacer extends TouchBarItem { constructor (config) { super() if (config == null) config = {} @@ -174,7 +174,7 @@ TouchBar.Spacer = class TouchBarSpacer extends TouchBarItem { } } -TouchBar.Popover = class TouchBarPopover extends TouchBarItem { +TouchBar.TouchBarPopover = class TouchBarPopover extends TouchBarItem { constructor (config) { super() if (config == null) config = {} @@ -189,7 +189,7 @@ TouchBar.Popover = class TouchBarPopover extends TouchBarItem { } } -TouchBar.Slider = class TouchBarSlider extends TouchBarItem { +TouchBar.TouchBarSlider = class TouchBarSlider extends TouchBarItem { constructor (config) { super() if (config == null) config = {}