mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Grandfather defaulting sanitizeDOMValue from legacy Polymer object.
This commit is contained in:
@@ -52,7 +52,7 @@ export const setRootPath = function(path) {
|
||||
*
|
||||
* @type {(function(*,string,string,Node):*)|undefined}
|
||||
*/
|
||||
export let sanitizeDOMValue = undefined;
|
||||
export let sanitizeDOMValue = window.Polymer && window.Polymer.sanitizeDOMValue || undefined;
|
||||
|
||||
/**
|
||||
* Sets the global sanitizeDOMValue available via this module's exported
|
||||
@@ -65,7 +65,6 @@ export const setSanitizeDOMValue = function(newSanitizeDOMValue) {
|
||||
sanitizeDOMValue = newSanitizeDOMValue;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Globally settable property to make Polymer Gestures use passive TouchEvent listeners when recognizing gestures.
|
||||
* When set to `true`, gestures made from touch will not be able to prevent scrolling, allowing for smoother
|
||||
|
||||
Reference in New Issue
Block a user