Update version

This commit is contained in:
Mohamed Hegazy
2016-12-08 16:04:40 -08:00
parent 409311f363
commit f1d7a8aeed
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.1.4",
"version": "2.1.5",
"license": "Apache-2.0",
"description": "TypeScript is a language for application scale JavaScript development",
"keywords": [

View File

@@ -3,7 +3,7 @@
namespace ts {
/** The version of the TypeScript compiler release */
export const version = "2.1.4";
export const version = "2.1.5";
}
/* @internal */
@@ -1201,7 +1201,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;
}