From 284b26f49fa59b2eb349303704e35b4109bccff9 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 11 Feb 2016 16:56:45 +0000 Subject: [PATCH] spelling fixes for src/compiler * after * aggressive * appear * asterisks * candidate * conflict * directory * dollar * ellipsis * exports * failures * folder * followed * highlight * inferred * location * occurred * output * propagated * push * rather * remaining * search * stabilized * substitution * successful * even though * will * with --- src/compiler/core.ts | 4 ++-- src/compiler/emitter.ts | 20 ++++++++++---------- src/compiler/program.ts | 18 +++++++++--------- src/compiler/scanner.ts | 4 ++-- src/compiler/sys.ts | 2 +- src/compiler/tsc.ts | 8 ++++---- src/compiler/utilities.ts | 12 ++++++------ 7 files changed, 34 insertions(+), 34 deletions(-) diff --git a/src/compiler/core.ts b/src/compiler/core.ts index 21536da36ff..702ded96a3f 100644 --- a/src/compiler/core.ts +++ b/src/compiler/core.ts @@ -667,7 +667,7 @@ namespace ts { } function getNormalizedPathComponentsOfUrl(url: string) { - // Get root length of http://www.website.com/folder1/foler2/ + // Get root length of http://www.website.com/folder1/folder2/ // In this example the root is: http://www.website.com/ // normalized path components should be ["http://www.website.com/", "folder1", "folder2"] @@ -695,7 +695,7 @@ namespace ts { const indexOfNextSlash = url.indexOf(directorySeparator, rootLength); if (indexOfNextSlash !== -1) { // Found the "/" after the website.com so the root is length of http://www.website.com/ - // and get components afetr the root normally like any other folder components + // and get components after the root normally like any other folder components rootLength = indexOfNextSlash + 1; return normalizedPathComponents(url, rootLength); } diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index 68f5963157e..f08082d72c8 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -407,14 +407,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge interface ConvertedLoopState { /* - * set of labels that occured inside the converted loop + * set of labels that occurred inside the converted loop * used to determine if labeled jump can be emitted as is or it should be dispatched to calling code */ labels?: Map; /* * collection of labeled jumps that transfer control outside the converted loop. * maps store association 'label -> labelMarker' where - * - label - value of label as it apprear in code + * - label - value of label as it appear in code * - label marker - return value that should be interpreted by calling code as 'jump to