From edf063bae37e7f8a799bafa2e8c9cfed7ba8226e Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Fri, 9 Nov 2018 17:00:19 +1100 Subject: [PATCH] chore: remove deprecated touch-bar API (#15650) --- lib/browser/api/touch-bar.js | 6 ------ 1 file changed, 6 deletions(-) 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 = [] }