Skip to content

Commit

Permalink
update class name
Browse files Browse the repository at this point in the history
  • Loading branch information
martina committed Apr 22, 2021
1 parent ce41c1f commit bfa9670
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { SequenceViewer } from './lib/sequence.viewer';
export { ProSeqViewer } from './lib/proseqviewer';
6 changes: 3 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SequenceViewer = void 0;
var sequence_viewer_1 = require("./lib/sequence.viewer");
Object.defineProperty(exports, "SequenceViewer", { enumerable: true, get: function () { return sequence_viewer_1.SequenceViewer; } });
exports.ProSeqViewer = void 0;
var proseqviewer_1 = require("./lib/proseqviewer");
Object.defineProperty(exports, "ProSeqViewer", { enumerable: true, get: function () { return proseqviewer_1.ProSeqViewer; } });
6 changes: 3 additions & 3 deletions src/lib/proseqviewer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {PatternsModel} from './patterns.model';
import {InputModel} from './input.model';
import {ConsensusModel} from './consensus.model';

export class Proseqviewer {
export class ProSeqViewer {
static sqvList = [];
divId: string;
init: boolean;
Expand Down Expand Up @@ -40,7 +40,7 @@ export class Proseqviewer {
this.events = new EventsModel();

window.onresize = () => {
for (const id of Proseqviewer.sqvList) {
for (const id of ProSeqViewer.sqvList) {

const sqvBody = document.getElementById(id);
if (!sqvBody) { Log.w(1, 'Cannot find sqv-body element.'); continue; }
Expand Down Expand Up @@ -70,7 +70,7 @@ export class Proseqviewer {

public draw(input1?, input2?, input3?, input4?, input5?, input6?, input7?) {

Proseqviewer.sqvList.push(this.divId);
ProSeqViewer.sqvList.push(this.divId);

let inputs;
let order;
Expand Down

0 comments on commit bfa9670

Please sign in to comment.