Make exported properties match class names

This commit is contained in:
Kevin Sawicki 2017-03-02 14:32:38 -08:00
parent eb03ab561d
commit 81ecd4499c

View file

@ -111,7 +111,7 @@ class TouchBarItem extends EventEmitter {
} }
} }
TouchBar.Button = class TouchBarButton extends TouchBarItem { TouchBar.TouchBarButton = class TouchBarButton extends TouchBarItem {
constructor (config) { constructor (config) {
super() super()
if (config == null) config = {} 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) { constructor (config) {
super() super()
if (config == null) config = {} 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) { constructor (config) {
super() super()
if (config == null) config = {} 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) { constructor (config) {
super() super()
if (config == null) config = {} 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) { constructor (config) {
super() super()
if (config == null) config = {} 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) { constructor (config) {
super() super()
if (config == null) config = {} 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) { constructor (config) {
super() super()
if (config == null) config = {} if (config == null) config = {}