Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: bootstrap.js.tmpl

Issue 5462707926990848: Issue 1434 - Removed remaining non-standard JavaScript code from buildtools (Closed)
Patch Set: Rebased Created Dec. 16, 2015, 11 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | lib/hooks.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bootstrap.js.tmpl
===================================================================
--- a/bootstrap.js.tmpl
+++ b/bootstrap.js.tmpl
@@ -172,7 +172,7 @@
}
return scopes[module].exports;
}
-require.scopes = {__proto__: null};
+require.scopes = Object.create(null);
{%- if hasChromeRequires %}
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
« no previous file with comments | « no previous file | lib/hooks.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld