From fc4521905863faa67b5fddfb9541eb02b7334da7 Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Thu, 9 Jul 2015 19:50:17 -0700 Subject: [PATCH] Spacing. --- src/services/services.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/services/services.ts b/src/services/services.ts index 7675b310715..e5a5266e116 100644 --- a/src/services/services.ts +++ b/src/services/services.ts @@ -3524,16 +3524,16 @@ namespace ts { } } - function filterJsxAttributes(attributes: NodeArray, symbols: Symbol[]): Symbol[] { + function filterJsxAttributes(attributes: NodeArray, symbols: Symbol[]): Symbol[] { let seenNames: Map = {}; - for(let attr of attributes) { - if(attr.kind === SyntaxKind.JsxAttribute) { + for (let attr of attributes) { + if (attr.kind === SyntaxKind.JsxAttribute) { seenNames[(attr).name.text] = true; } } let result: Symbol[] = []; - for(let sym of symbols) { - if(!seenNames[sym.name]) { + for (let sym of symbols) { + if (!seenNames[sym.name]) { result.push(sym); } }