How to use the tmp/pathvisio-js.html function in tmp

To help you get started, we’ve selected a few tmp examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github wikipathways / pvjs / test / pathvisio-js-dev.html View on Github external
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();
    });
  }
github wikipathways / pvjs / src / js / pathvisiojs / deprecated / pathway / pathway.js View on Github external
function(callbackInside){
        console.log('2');
        args.containerElement.html(pathvisioNS['tmp/pathvisio-js.html']);
        svg = args.containerElement.select('#pathway-image');
        callbackInside(null);
      },
      function(callbackInside) {