Reviewers: jochen,

Description:
make Intl non-enumerable

[email protected]
BUG=

Please review this at https://codereview.chromium.org/21213003/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/extensions/i18n/footer.js
  M src/extensions/i18n/header.js


Index: src/extensions/i18n/footer.js
diff --git a/src/extensions/i18n/footer.js b/src/extensions/i18n/footer.js
index ac33f1e24224957ff05d2cddef072987dd96942d..adaa633462421b6a598cc0201b1896f84941a734 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;
-}());
+}())});
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';



--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to