Chromium Code Reviews| Index: src/date.js |
| diff --git a/src/date.js b/src/date.js |
| index 56a72f0db1396ca13dff1b2dfe0d3ea024a14b70..0a19a13e087806969e65bc31e97204aea6da1047 100644 |
| --- a/src/date.js |
| +++ b/src/date.js |
| @@ -880,7 +880,8 @@ utils.InstallFunctions(GlobalDate.prototype, DONT_ENUM, [ |
| "toJSON", DateToJSON |
| ]); |
| -// Expose to the global scope. |
| -$createDate = CreateDate; |
| +utils.ExportToRuntime(function(to) { |
| + to.CreateDate = CreateDate; |
| +}); |
| }) |