Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
d3.text(svgTemplateUrl, 'text/plain', function(svg) {
d3.select(partialHtml).select('#pathway-container')[0][0].innerHTML = svg;
var oSerializer = new XMLSerializer();
pathvisioNS['tmp/pathvisio-js.html'] = oSerializer.serializeToString(partialHtml);
callback();
});
}
function(callbackInside){
console.log('2');
args.containerElement.html(pathvisioNS['tmp/pathvisio-js.html']);
svg = args.containerElement.select('#pathway-image');
callbackInside(null);
},
function(callbackInside) {