src/layout.js
/**
 * Whether the loading can be shown for the specified elemeent. This set has
 * to be externalized since the element's implementation may not be
 * downloaded yet.
 * @param {!Element} element.
 * @return {boolean}
 */
Whether the loading can be shown for the specified elemeent. This set has
to be externalized since the element's implementation may not be
downloaded yet.
@param {!Element} element.
@return {boolean}
Whether the loading can be shown for the specified elemeent . This set has to be externalized since the element ' s implementation may not be downloaded yet . @param { !Element } element . @return { boolean }
function isLoadingAllowed(element) {
  const tagName = element.tagName.toUpperCase();
  if (tagName == 'AMP-AD' || tagName == 'AMP-EMBED') {
    return true;
  }
  return LOADING_ELEMENTS_[tagName] || false;
}
function isLoadingAllowed ( element ) { const tagName = element . tagName . toUpperCase ( ) ; if ( tagName == 'AMP-AD' || tagName == 'AMP-EMBED' ) { return true ; } return LOADING_ELEMENTS_ [ tagName ] || false ; }
Whether the loading can be shown for the specified elemeent.
Whether the loading can be shown for the specified elemeent .