Skip to content

Commit

Permalink
Merge pull request #185 from EliotRagueneau/master
Browse files Browse the repository at this point in the history
Fix version import to work with Angular 12
  • Loading branch information
colin-combe authored Oct 7, 2021
2 parents 9f67e1a + 96c9259 commit 0d844e8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dist/complexviewer.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "complexviewer",
"version": "2.1.13",
"version": "2.1.14",
"description": "A network visualisation that displays molecular interaction data, including detailed residue-level information such as binding sites. Used in EBI's Complex Portal and elsewhere.",
"author": {
"name": "Colin Combe",
Expand Down
4 changes: 2 additions & 2 deletions src/js/app.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// eslint-disable-next-line no-unused-vars
import * as css from "../css/xinet.css";
import {version} from "../../package.json";
import packageInfo from "../../package.json";
import * as d3 from "d3";
import * as d3_chromatic from "d3-scale-chromatic";
import * as cola from "./cola";
Expand Down Expand Up @@ -136,7 +136,7 @@ export class App {
this.acknowledgement = document.createElementNS(svgns, "g");
const ackText = document.createElementNS(svgns, "text");
ackText.innerHTML = "<a href='https://academic.oup.com/bioinformatics/article/33/22/3673/4061280' target='_blank'><tspan x='0' dy='1.2em' style='text-decoration: underline'>ComplexViewer "
+ version + "</tspan></a><tspan x='0' dy='1.2em'>by <a href='https://rappsilberlab.org/' target='_blank'>Rappsilber Laboratory</a></tspan>";
+ packageInfo.version + "</tspan></a><tspan x='0' dy='1.2em'>by <a href='https://rappsilberlab.org/' target='_blank'>Rappsilber Laboratory</a></tspan>";

this.acknowledgement.appendChild(ackText);
ackText.setAttribute("font-size", "8pt");
Expand Down

0 comments on commit 0d844e8

Please sign in to comment.