Non-ASCII sybmols made their way into JS comments
Review URL: http://codereview.chromium.org/984005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4149 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
4751f36492
commit
56c90bc0cf
@ -265,7 +265,7 @@ var ymd_from_time_cached_time = $NaN;
|
||||
|
||||
function YearFromTime(t) {
|
||||
if (t !== ymd_from_time_cached_time) {
|
||||
// Limits according to ECMA 262 15.9.1.1
|
||||
// Limits according to ECMA 262 15.9.1.1
|
||||
if (!$isFinite(t) || t < -8640000000000000 || t > 8640000000000000) {
|
||||
return $NaN;
|
||||
}
|
||||
@ -279,7 +279,7 @@ function YearFromTime(t) {
|
||||
|
||||
function MonthFromTime(t) {
|
||||
if (t !== ymd_from_time_cached_time) {
|
||||
// Limits according to ECMA 262 15.9.1.1
|
||||
// Limits according to ECMA 262 15.9.1.1
|
||||
if (!$isFinite(t) || t < -8640000000000000 || t > 8640000000000000) {
|
||||
return $NaN;
|
||||
}
|
||||
@ -292,7 +292,7 @@ function MonthFromTime(t) {
|
||||
|
||||
function DateFromTime(t) {
|
||||
if (t !== ymd_from_time_cached_time) {
|
||||
// Limits according to ECMA 262 15.9.1.1
|
||||
// Limits according to ECMA 262 15.9.1.1
|
||||
if (!$isFinite(t) || t < -8640000000000000 || t > 8640000000000000) {
|
||||
return $NaN;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user