| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 var $createDate; | 5 var $createDate; |
| 6 | 6 |
| 7 // ------------------------------------------------------------------- | 7 // ------------------------------------------------------------------- |
| 8 | 8 |
| 9 (function(global, utils) { | 9 (function(global, utils) { |
| 10 | 10 |
| (...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 873 "setFullYear", DateSetFullYear, | 873 "setFullYear", DateSetFullYear, |
| 874 "setUTCFullYear", DateSetUTCFullYear, | 874 "setUTCFullYear", DateSetUTCFullYear, |
| 875 "toGMTString", DateToGMTString, | 875 "toGMTString", DateToGMTString, |
| 876 "toUTCString", DateToUTCString, | 876 "toUTCString", DateToUTCString, |
| 877 "getYear", DateGetYear, | 877 "getYear", DateGetYear, |
| 878 "setYear", DateSetYear, | 878 "setYear", DateSetYear, |
| 879 "toISOString", DateToISOString, | 879 "toISOString", DateToISOString, |
| 880 "toJSON", DateToJSON | 880 "toJSON", DateToJSON |
| 881 ]); | 881 ]); |
| 882 | 882 |
| 883 // Expose to the global scope. | 883 utils.ExportToRuntime(function(to) { |
| 884 $createDate = CreateDate; | 884 to.CreateDate = CreateDate; |
| 885 }); |
| 885 | 886 |
| 886 }) | 887 }) |
| OLD | NEW |