diff --git a/lib/utils/settings.html b/lib/utils/settings.html
index 88304a8e13..84558c8085 100644
--- a/lib/utils/settings.html
+++ b/lib/utils/settings.html
@@ -16,13 +16,6 @@
(function() {
'use strict';
- const settings = Polymer.Settings || {};
- settings.useShadow = !(window.ShadyDOM);
- settings.useNativeCSSProperties =
- Boolean(!window.ShadyCSS || window.ShadyCSS.nativeCss);
- settings.useNativeCustomElements =
- !(window.customElements.polyfillWrapFlushCallback);
-
/**
* Sets the global, legacy settings.
*
@@ -30,7 +23,14 @@
* @namespace
* @memberof Polymer
*/
- Polymer.Settings = settings;
+ Polymer.Settings = Polymer.Settings || {};
+
+ Polymer.Settings.useShadow = !(window.ShadyDOM);
+ Polymer.Settings.useNativeCSSProperties =
+ Boolean(!window.ShadyCSS || window.ShadyCSS.nativeCss);
+ Polymer.Settings.useNativeCustomElements =
+ !(window.customElements.polyfillWrapFlushCallback);
+
/**
* Globally settable property that is automatically assigned to