Update version

This commit is contained in:
Mohamed Hegazy 2016-11-15 11:26:03 -08:00
parent 3a094e7e73
commit d64c98cec7
2 changed files with 3 additions and 3 deletions

View File

@ -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": [

View File

@ -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;
}