diff --git a/lib/utils/settings.html b/lib/utils/settings.html index 218f83c9ec..c27c09f99d 100644 --- a/lib/utils/settings.html +++ b/lib/utils/settings.html @@ -43,7 +43,7 @@ * @memberof Polymer */ Polymer.rootPath = Polymer.rootPath || - Polymer.ResolveUrl.pathFromUrl(document.baseURI || window.location.href);; + Polymer.ResolveUrl.pathFromUrl(document.baseURI || window.location.href); /** * Sets the global rootPath property used by `Polymer.ElementMixin` and @@ -108,8 +108,8 @@ Polymer.passiveTouchGestures = usePassive; }; - Polymer.legacyOptimizations = Polymer.legacyOptimizations || - window.PolymerSettings && PolymerSettings.legacyOptimizations || false; + Polymer.legacyOptimizations = Polymer.legacyOptimizations || + window.PolymerSettings && window.PolymerSettings.legacyOptimizations || false; /** * Sets `legacyOptimizations` globally for all elements. Enables