From a5e87c8459b3ce62788e0ef476a4af408be98b84 Mon Sep 17 00:00:00 2001 From: "dcarney@chromium.org" Date: Wed, 31 Jul 2013 07:17:34 +0000 Subject: [PATCH] make Intl non-enumerable R=jochen@chromium.org, svenpanne@chromium.org BUG= Review URL: https://codereview.chromium.org/21213003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15974 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/extensions/i18n/footer.js | 2 +- src/extensions/i18n/header.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extensions/i18n/footer.js b/src/extensions/i18n/footer.js index ac33f1e242..adaa633462 100644 --- a/src/extensions/i18n/footer.js +++ b/src/extensions/i18n/footer.js @@ -37,4 +37,4 @@ var CLEANUP_RE = new RegExp(''); CLEANUP_RE.test(''); return Intl; -}()); +}())}); diff --git a/src/extensions/i18n/header.js b/src/extensions/i18n/header.js index 1c0a2d8874..b854ce5ead 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';