Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Side by Side Diff: src/date-delay.js

Issue 109004: Suggestion for 1717. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/bootstrapper.cc ('k') | src/math.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after
1012 "UTC", DateUTC, 1012 "UTC", DateUTC,
1013 "parse", DateParse, 1013 "parse", DateParse,
1014 "now", DateNow 1014 "now", DateNow
1015 )); 1015 ));
1016 1016
1017 // Setup non-enumerable constructor property of the Date prototype object. 1017 // Setup non-enumerable constructor property of the Date prototype object.
1018 %SetProperty($Date.prototype, "constructor", $Date, DONT_ENUM); 1018 %SetProperty($Date.prototype, "constructor", $Date, DONT_ENUM);
1019 1019
1020 // Setup non-enumerable functions of the Date prototype object and 1020 // Setup non-enumerable functions of the Date prototype object and
1021 // set their names. 1021 // set their names.
1022 InstallFunctions($Date.prototype, DONT_ENUM, $Array( 1022 InstallFunctionsOnHiddenPrototype($Date.prototype, DONT_ENUM, $Array(
1023 "toString", DateToString, 1023 "toString", DateToString,
1024 "toDateString", DateToDateString, 1024 "toDateString", DateToDateString,
1025 "toTimeString", DateToTimeString, 1025 "toTimeString", DateToTimeString,
1026 "toLocaleString", DateToLocaleString, 1026 "toLocaleString", DateToLocaleString,
1027 "toLocaleDateString", DateToLocaleDateString, 1027 "toLocaleDateString", DateToLocaleDateString,
1028 "toLocaleTimeString", DateToLocaleTimeString, 1028 "toLocaleTimeString", DateToLocaleTimeString,
1029 "valueOf", DateValueOf, 1029 "valueOf", DateValueOf,
1030 "getTime", DateGetTime, 1030 "getTime", DateGetTime,
1031 "getFullYear", DateGetFullYear, 1031 "getFullYear", DateGetFullYear,
1032 "getUTCFullYear", DateGetUTCFullYear, 1032 "getUTCFullYear", DateGetUTCFullYear,
(...skipping 30 matching lines...) Expand all
1063 "toGMTString", DateToGMTString, 1063 "toGMTString", DateToGMTString,
1064 "toUTCString", DateToUTCString, 1064 "toUTCString", DateToUTCString,
1065 "getYear", DateGetYear, 1065 "getYear", DateGetYear,
1066 "setYear", DateSetYear, 1066 "setYear", DateSetYear,
1067 "toISOString", DateToISOString, 1067 "toISOString", DateToISOString,
1068 "toJSON", DateToJSON 1068 "toJSON", DateToJSON
1069 )); 1069 ));
1070 } 1070 }
1071 1071
1072 SetupDate(); 1072 SetupDate();
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/math.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698