| Index: src/date.js
|
| diff --git a/src/date.js b/src/date.js
|
| index 79b846d4a7060efc938990330cf8396b07224073..ccefce57638812366eb32776b5cbdc6c1d79ebaf 100644
|
| --- a/src/date.js
|
| +++ b/src/date.js
|
| @@ -1048,18 +1048,19 @@ function ResetDateCache() {
|
|
|
| // -------------------------------------------------------------------
|
|
|
| -function SetupDate() {
|
| - // Setup non-enumerable properties of the Date object itself.
|
| +function SetUpDate() {
|
| + %CheckIsBootstrapping();
|
| + // Set up non-enumerable properties of the Date object itself.
|
| InstallFunctions($Date, DONT_ENUM, $Array(
|
| "UTC", DateUTC,
|
| "parse", DateParse,
|
| "now", DateNow
|
| ));
|
|
|
| - // Setup non-enumerable constructor property of the Date prototype object.
|
| + // Set up non-enumerable constructor property of the Date prototype object.
|
| %SetProperty($Date.prototype, "constructor", $Date, DONT_ENUM);
|
|
|
| - // Setup non-enumerable functions of the Date prototype object and
|
| + // Set up non-enumerable functions of the Date prototype object and
|
| // set their names.
|
| InstallFunctionsOnHiddenPrototype($Date.prototype, DONT_ENUM, $Array(
|
| "toString", DateToString,
|
| @@ -1111,4 +1112,4 @@ function SetupDate() {
|
| ));
|
| }
|
|
|
| -SetupDate();
|
| +SetUpDate();
|
|
|