From eb6d8d0bb39b31ec30837527f2856ef1abb8f651 Mon Sep 17 00:00:00 2001 From: daniel Date: Wed, 4 Apr 2018 14:09:28 -0700 Subject: [PATCH] Formatting: formally declared variable before use in CPColor.j Variable `isVertical` is used throughout the function `patternColorsFromPattern` in CPColor.j despite never being declared. In this pull request, the variable is declared formally in the variable list before its use. --- AppKit/CPColor.j | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AppKit/CPColor.j b/AppKit/CPColor.j index 813a0995a..a2fddb202 100644 --- a/AppKit/CPColor.j +++ b/AppKit/CPColor.j @@ -1247,7 +1247,8 @@ var patternColorsFromPattern = function(pattern, attributes, imageFactory) bottomHeight, centerWidthHeight, centerIsNil, - numParts; + numParts, + isVertical; // positions are mandatory if (pattern.indexOf("{position}") < 0)