function install(config) {
  // Now, install the sanitizer.
  const origSanitize = settings.sanitizeDOMValue;
  const sanitizeDOMValue = makeSanitizeDomFunction(config, origSanitize);
  settings.setSanitizeDOMValue(sanitizeDOMValue);
  if (settings.sanitizeDOMValue !== sanitizeDOMValue) {
    throw new Error('Cannot install sanitizeDOMValue.  Is Polymer frozen?');
  }
}
/**
 * Install polymer resin into Polymer v2/v3.
 *
 * This must be done before the first application element is instantiated
 * (see getting-started.md for details).
 *
 * @param {!Configuration} config A sanitizer
 *     configuration.
 */
Install polymer resin into Polymer v2/v3.
This must be done before the first application element is instantiated
.

@param {!Configuration} config A sanitizer
configuration.
Install polymer resin into Polymer v2 / v3 . This must be done before the first application element is instantiated . @param { !Configuration } config A sanitizer configuration .
function install(config) {
  const origSanitize = settings.sanitizeDOMValue;
  const sanitizeDOMValue = makeSanitizeDomFunction(config, origSanitize);
  settings.setSanitizeDOMValue(sanitizeDOMValue);
  if (settings.sanitizeDOMValue !== sanitizeDOMValue) {
    throw new Error('Cannot install sanitizeDOMValue.  Is Polymer frozen?');
  }
}
function install ( config ) { const origSanitize = settings . sanitizeDOMValue ; const sanitizeDOMValue = makeSanitizeDomFunction ( config , origSanitize ) ; settings . setSanitizeDOMValue ( sanitizeDOMValue ) ; if ( settings . sanitizeDOMValue !== sanitizeDOMValue ) { throw new Error ( 'Cannot install sanitizeDOMValue.  Is Polymer frozen?' ) ; } }
Install polymer resin into Polymer v2/v3.
Install polymer resin into Polymer v2 / v3 .
// Now, install the sanitizer.