From f70cf01155afee311385bb590a9d73b0586bf730 Mon Sep 17 00:00:00 2001 From: eight Date: Thu, 9 Nov 2017 06:01:31 +0800 Subject: [PATCH] Fix: move let definition into one line --- edit/applies-to-line-widget.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/edit/applies-to-line-widget.js b/edit/applies-to-line-widget.js index 923b350f..7cb13db8 100644 --- a/edit/applies-to-line-widget.js +++ b/edit/applies-to-line-widget.js @@ -10,11 +10,7 @@ function createAppliesToLineWidget(cm) { ]; const THROTTLE_DELAY = 400; let widgets = []; - let timer; - let fromLine; - let toLine; - let style; - let isInit; + let timer, fromLine, toLine, style, isInit; return {toggle};