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

Side by Side Diff: src/date.js

Issue 1293493003: Do not export natives to runtime via js builtins object. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « src/collection.js ('k') | src/messages.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 // 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
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 })
OLDNEW
« no previous file with comments | « src/collection.js ('k') | src/messages.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698