Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
getShakeMapSummary = function (product) {
var properties = product.properties,
contents = product.contents,
maxmmi = properties.maxmmi,
thumbnail;
maxmmi = ImpactUtil.translateMmi(maxmmi);
thumbnail = contents['download/intensity.jpg'];
return [
'<ul>' +
'<li class="impact-bubbles">',
'<span class="mmi', maxmmi, '">',
'<strong class="roman">', maxmmi, '</strong>',
'<br>',
'<abbr title="ShakeMap - Modified Mercalli Intenisty">',
'ShakeMap',
'</abbr>',
'</span>',
'</li>',
'<li>',
'<span>', _formatter.magnitude(properties.magnitude), '</span>',
'<abbr title="Magnitude">Mag</abbr>',
'</li>',</ul>