diff --git a/lib/browser/api/touch-bar.js b/lib/browser/api/touch-bar.js index ddacc733332e..183a1e05bc74 100644 --- a/lib/browser/api/touch-bar.js +++ b/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 = [] }