From 3183e3f7c8789846d388fcd22e51c82bd1abaffb Mon Sep 17 00:00:00 2001 From: Justin Fagnani Date: Fri, 2 Jun 2017 15:30:17 -0700 Subject: [PATCH] Add lib/utils/settings.html to hold legacy settings and rootPath --- lib/legacy/polymer.dom.html | 11 +----- lib/mixins/element-mixin.html | 14 +------- lib/utils/settings.html | 64 +++++++++++++++++++++++++++++++++++ 3 files changed, 66 insertions(+), 23 deletions(-) create mode 100644 lib/utils/settings.html diff --git a/lib/legacy/polymer.dom.html b/lib/legacy/polymer.dom.html index ae9ba4bbc1..7fb6a50633 100644 --- a/lib/legacy/polymer.dom.html +++ b/lib/legacy/polymer.dom.html @@ -8,6 +8,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt --> + diff --git a/lib/mixins/element-mixin.html b/lib/mixins/element-mixin.html index 9f2733d234..867be27f54 100644 --- a/lib/mixins/element-mixin.html +++ b/lib/mixins/element-mixin.html @@ -9,6 +9,7 @@ --> + @@ -848,18 +849,5 @@ } }; - /** - * Globally settable property that is automatically assigned to - * `Polymer.ElementMixin` instances, useful for binding in templates to - * make URL's relative to an application's root. Defaults to the main - * document URL, but can be overridden by users. It may be useful to set - * `Polymer.rootPath` to provide a stable application mount path when - * using client side routing. - * - * @memberof Polymer - */ - Polymer.rootPath = Polymer.rootPath || - Polymer.ResolveUrl.pathFromUrl(document.baseURI || window.location.href); - })(); diff --git a/lib/utils/settings.html b/lib/utils/settings.html new file mode 100644 index 0000000000..05988c0718 --- /dev/null +++ b/lib/utils/settings.html @@ -0,0 +1,64 @@ + + + + + + \ No newline at end of file