diff --git a/package.json b/package.json index fdefb5227dc..45244e5faaf 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "typescript", "author": "Microsoft Corp.", "homepage": "http://typescriptlang.org/", - "version": "2.0.9", + "version": "2.0.10", "license": "Apache-2.0", "description": "TypeScript is a language for application scale JavaScript development", "keywords": [ diff --git a/src/compiler/core.ts b/src/compiler/core.ts index 05b3a1398eb..fb86b82325c 100644 --- a/src/compiler/core.ts +++ b/src/compiler/core.ts @@ -4,7 +4,7 @@ /* @internal */ namespace ts { - export const version = "2.0.9"; + export const version = "2.0.10"; /** * Ternary values are defined such that @@ -717,7 +717,7 @@ namespace ts { if (b === undefined) return Comparison.GreaterThan; if (ignoreCase) { if (collator && String.prototype.localeCompare) { - // accent means a ≠ b, a ≠ á, a = A + // accent means a ? b, a ? a´, a = A const result = a.localeCompare(b, /*locales*/ undefined, { usage: "sort", sensitivity: "accent" }); return result < 0 ? Comparison.LessThan : result > 0 ? Comparison.GreaterThan : Comparison.EqualTo; }