We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5935a9 commit d5672dcCopy full SHA for d5672dc
1 file changed
lib/utils/settings.js
@@ -52,7 +52,7 @@ export const setRootPath = function(path) {
52
*
53
* @type {(function(*,string,string,Node):*)|undefined}
54
*/
55
-export let sanitizeDOMValue = undefined;
+export let sanitizeDOMValue = window.Polymer && window.Polymer.sanitizeDOMValue || undefined;
56
57
/**
58
* Sets the global sanitizeDOMValue available via this module's exported
@@ -65,7 +65,6 @@ export const setSanitizeDOMValue = function(newSanitizeDOMValue) {
65
sanitizeDOMValue = newSanitizeDOMValue;
66
};
67
68
-
69
70
* Globally settable property to make Polymer Gestures use passive TouchEvent listeners when recognizing gestures.
71
* When set to `true`, gestures made from touch will not be able to prevent scrolling, allowing for smoother
0 commit comments