From 49c78968a32ab1be74dde85d64ec1f95ee03f193 Mon Sep 17 00:00:00 2001 From: Cyrus Najmabadi Date: Fri, 20 Feb 2015 11:25:42 -0800 Subject: [PATCH] CR feedback. --- src/compiler/types.ts | 2 +- src/services/patternMatcher.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/compiler/types.ts b/src/compiler/types.ts index bfc32e2e4c1..4142dfe8874 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -1646,7 +1646,7 @@ module ts { equals = 0x3D, // = exclamation = 0x21, // ! greaterThan = 0x3E, // > - hash = 0x23, + hash = 0x23, // # lessThan = 0x3C, // < minus = 0x2D, // - openBrace = 0x7B, // { diff --git a/src/services/patternMatcher.ts b/src/services/patternMatcher.ts index 7beb70ad1e8..98a9ad98a2e 100644 --- a/src/services/patternMatcher.ts +++ b/src/services/patternMatcher.ts @@ -19,12 +19,12 @@ module ts { camelCaseWeight: number; // If this was a match where all consituent parts of the candidate and search pattern - // matched cast sensitively or case insensitively. Case sensitive matches of the kind + // matched case sensitively or case insensitively. Case sensitive matches of the kind // are better matches than insensitive matches. isCaseSensitive: boolean; // Whether or not this match occured with the punctuation from the search pattern stripped - // out or not. Matched without the punctuation stripped are better than ones with punctuation + // out or not. Matches without the punctuation stripped are better than ones with punctuation // stripped. punctuationStripped: boolean; } @@ -34,7 +34,7 @@ module ts { // once you no longer need it. export interface PatternMatcher { // Used to match a candidate against the last segment of a possibly dotted pattern. This - // is useful as a quick check to preven having to compute a container before calling + // is useful as a quick check to prevent having to compute a container before calling // "getMatches". // // For example, if the search pattern is "ts.c.SK" and the candidate is "SyntaxKind", then