diff options
Diffstat (limited to 'website/app.js')
| -rw-r--r-- | website/app.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/website/app.js b/website/app.js index 5185c936a..375c6a54b 100644 --- a/website/app.js +++ b/website/app.js @@ -148,10 +148,12 @@ function generate( }; } + // @ts-ignore c3.generate({ bindto: id, size: { height: 300, + // @ts-ignore width: window.chartWidth || 375 // TODO: do not use global variable }, data: { @@ -200,6 +202,7 @@ export async function drawChartsFromBenchmarkData(dataUrl) { const sha1ShortList = sha1List.map(sha1 => sha1.substring(0, 6)); const viewCommitOnClick = _sha1List => d => { + // @ts-ignore window.open( `https://github.com/denoland/deno/commit/${_sha1List[d["index"]]}` ); @@ -229,6 +232,7 @@ export async function drawChartsFromBenchmarkData(dataUrl) { */ export async function drawChartsFromTravisData() { const viewPullRequestOnClick = _prNumberList => d => { + // @ts-ignore window.open( `https://github.com/denoland/deno/pull/${_prNumberList[d["index"]]}` ); |
