Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
return {children[0]};
case 'htmlblock':
const text = children[0];
if (typeof text === 'string' || text instanceof String) {
return {text};
}
break;
case 'p':
// if (children[0] === null){ return null; }
// console.log('p arguments', arguments);
props.className = 'p-block';
props['data-hash'] = children[0] ? murmur.v2(children[0]) : 0;
Component = 'div';
break;
case 'li':
props['data-hash'] = children[0] ? murmur.v2(children[0]) : 0;
break;
case 'a':
props['target'] = "_blank";
break;
case 'hr':
return ;
case 'references':
return ;
case 'footnotes':
return ;
case 'pubheader':
// console.log(arguments);
Component = 'div';
function createId (benchmark) {
return parseInt(murmurhash.v2(benchmark.name + benchmark.version), 10);
}
const finger = x => murmur.v2(x);
const fingerprinted = s => murmur.v2(s);
function createId (backend) {
return parseInt(murmurhash.v2(backend.name + backend.version), 10);
}
function createId (instrumentation) {
return parseInt(murmurhash.v2(instrumentation.name + instrumentation.version), 10);
}