From bc49e2f05fac4104697361a6c0ab605e38c49e98 Mon Sep 17 00:00:00 2001 From: zepumph Date: Thu, 19 Sep 2019 14:24:49 -0800 Subject: [PATCH] var -> const using eslint auto fix, https://github.com/phetsims/tasks/issues/1012 --- js/common/view/LineOptionsNode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/common/view/LineOptionsNode.js b/js/common/view/LineOptionsNode.js index 6a04b65..ac251fb 100644 --- a/js/common/view/LineOptionsNode.js +++ b/js/common/view/LineOptionsNode.js @@ -76,7 +76,7 @@ define( require => { } ), { xAlign: 'left', group: alignGroup } ); // Max width must be set to the maxWidth of the alignGroup based on its content. - var contentSpacing = DEFAULT_CONTENT_SPACING - alignGroup.getMaxWidth(); + const contentSpacing = DEFAULT_CONTENT_SPACING - alignGroup.getMaxWidth(); // Checkbox group for line options const lineOptionsCheckboxGroup = new VerticalCheckboxGroup( [ {