make Intl non-enumerable
authordcarney@chromium.org <dcarney@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 31 Jul 2013 07:17:34 +0000 (07:17 +0000)
committerdcarney@chromium.org <dcarney@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 31 Jul 2013 07:17:34 +0000 (07:17 +0000)
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
src/extensions/i18n/header.js

index ac33f1e24224957ff05d2cddef072987dd96942d..adaa633462421b6a598cc0201b1896f84941a734 100644 (file)
@@ -37,4 +37,4 @@ var CLEANUP_RE = new RegExp('');
 CLEANUP_RE.test('');
 
 return Intl;
-}());
+}())});
index 1c0a2d8874b5aa982ca2be2fb39f2ead1c4a9622..b854ce5eadac06e5ee69f278b1ebbd40e4cff52b 100644 (file)
@@ -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';