Skip to content

Commit

Permalink
chore: remove deprecated touch-bar API (#15650)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound committed Nov 9, 2018
1 parent e7b2b93 commit edf063b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/browser/api/touch-bar.js
Expand Up @@ -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 = []
}
Expand Down

0 comments on commit edf063b

Please sign in to comment.