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 865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
876 "setFullYear", DateSetFullYear, | 876 "setFullYear", DateSetFullYear, |
877 "setUTCFullYear", DateSetUTCFullYear, | 877 "setUTCFullYear", DateSetUTCFullYear, |
878 "toGMTString", DateToGMTString, | 878 "toGMTString", DateToGMTString, |
879 "toUTCString", DateToUTCString, | 879 "toUTCString", DateToUTCString, |
880 "getYear", DateGetYear, | 880 "getYear", DateGetYear, |
881 "setYear", DateSetYear, | 881 "setYear", DateSetYear, |
882 "toISOString", DateToISOString, | 882 "toISOString", DateToISOString, |
883 "toJSON", DateToJSON | 883 "toJSON", DateToJSON |
884 ]); | 884 ]); |
885 | 885 |
886 utils.ExportToRuntime(function(to) { | 886 %InstallToContext(["create_date_fun", CreateDate]); |
887 to["create_date_fun"] = CreateDate; | |
888 }); | |
889 | 887 |
890 }) | 888 }) |
OLD | NEW |