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

Unified Diff: src/extensions/i18n/header.js

Issue 21213003: make Intl non-enumerable (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/extensions/i18n/footer.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/extensions/i18n/header.js
diff --git a/src/extensions/i18n/header.js b/src/extensions/i18n/header.js
index 1c0a2d8874b5aa982ca2be2fb39f2ead1c4a9622..b854ce5eadac06e5ee69f278b1ebbd40e4cff52b 100644
--- a/src/extensions/i18n/header.js
+++ b/src/extensions/i18n/header.js
@@ -34,7 +34,7 @@
* Intl object is a single object that has some named properties,
* all of which are constructors.
*/
-var Intl = (function() {
+Object.defineProperty(this, "Intl", { enumerable: false, value: (function() {
'use strict';
« no previous file with comments | « src/extensions/i18n/footer.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698