Skip to content

Commit

Permalink
Remove meaningless "undefined" in settings.js
Browse files Browse the repository at this point in the history
  • Loading branch information
aomarks committed Dec 11, 2018
1 parent 60b1e9f commit fcc8752
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/utils/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ export const useNativeCustomElements = !(window.customElements.polyfillWrapFlush
* `rootPath` to provide a stable application mount path when
* using client side routing.
*/
export let rootPath = undefined ||
pathFromUrl(document.baseURI || window.location.href);
export let rootPath = pathFromUrl(document.baseURI || window.location.href);

/**
* Sets the global rootPath property used by `ElementMixin` and
Expand Down Expand Up @@ -140,4 +139,4 @@ export let legacyOptimizations = false;
*/
export const setLegacyOptimizations = function(useLegacyOptimizations) {
legacyOptimizations = useLegacyOptimizations;
};
};

0 comments on commit fcc8752

Please sign in to comment.