Fix EcmaVersion.fromString() which caused translator to default to EcmaScript v5 in IDE

This commit is contained in:
pTalanov
2012-06-05 16:32:48 +04:00
parent a4e6a77f58
commit c5ebfdcea7
@@ -30,7 +30,7 @@ public enum EcmaVersion {
@NotNull
public static EcmaVersion fromString(@Nullable String target) {
return StringUtil.compareVersionNumbers(target, "5") >= 0 ? v5 : v3;
return StringUtil.compareVersionNumbers(target, "v5") >= 0 ? v5 : v3;
}
@NotNull