Fix linting
authorSamuel Attard <samuel.r.attard@gmail.com>
Fri, 10 Mar 2017 06:56:26 +0000 (17:56 +1100)
committerSamuel Attard <samuel.r.attard@gmail.com>
Fri, 10 Mar 2017 06:56:26 +0000 (17:56 +1100)
lib/browser/api/touch-bar.js

index a6e2e59..0d428cb 100644 (file)
@@ -218,14 +218,14 @@ TouchBar.TouchBarSegmentedControl = class TouchBarSegmentedControl extends Touch
     if (config == null) config = {}
     const {segmentStyle, segments, selectedIndex, change} = config
     this.type = 'segmented_control'
-    this._addLiveProperty('segmentStyle', segmentStyle);
-    this._addLiveProperty('segments', segments || []);
+    this._addLiveProperty('segmentStyle', segmentStyle)
+    this._addLiveProperty('segments', segments || [])
     this._addLiveProperty('selectedIndex', selectedIndex)
 
     if (typeof change === 'function') {
       this.onInteraction = (details) => {
-        this._selectedIndex = details.selectedIndex;
-        change(details.selectedIndex);
+        this._selectedIndex = details.selectedIndex
+        change(details.selectedIndex)
       }
     }
   }