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 = {}