Skip to content
Permalink
Browse files

chore: remove deprecated touch-bar API (#15650)

  • Loading branch information...
MarshallOfSound committed Nov 9, 2018
1 parent e7b2b93 commit edf063bae37e7f8a799bafa2e8c9cfed7ba8226e
Showing with 0 additions and 6 deletions.
  1. +0 −6 lib/browser/api/touch-bar.js
@@ -31,12 +31,6 @@ class TouchBar extends EventEmitter {

let { items, escapeItem } = options

// FIXME Support array as first argument, remove in 2.0
if (Array.isArray(options)) {
items = options
escapeItem = null
}

if (!Array.isArray(items)) {
items = []
}

0 comments on commit edf063b

Please sign in to comment.
You can’t perform that action at this time.