File size: 680 Bytes
fe4a287
 
63858e7
 
 
 
 
 
 
 
 
 
fe4a287
 
63858e7
 
 
fe4a287
 
 
63858e7
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import { MainGraphic } from './vis/attentionVis'
import * as d3 from 'd3'
import { API, emptyTokenDisplay } from './api/mainApi'
import * as _ from 'lodash'
import { TokenWrapper } from './data/TokenWrapper'
// import { Tester } from "../ts/test"

import "!file-loader?name=exBERT.html!../exBERT.html";
import "!file-loader?name=index.html!../index.html";
import "../css/main.scss"

function doMySvg() {
    const base = document.getElementById('static-init')
    return new MainGraphic(base)
};

window.onload = () => {
    const base = document.getElementById('attention-vis')
    //@ts-ignore
    const mainVis = new MainGraphic(base)
    console.log("Done loading window");
}