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 b0ac3482b..74d97b41c 100644 --- a/website/app.js +++ b/website/app.js @@ -154,10 +154,12 @@ function gen2( }; } + // @ts-ignore c3.generate({ bindto: id, size: { height: 300, + // @ts-ignore width: window.chartWidth || 375 // TODO: do not use global variable }, data: { @@ -201,6 +203,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"]]}` ); @@ -230,6 +233,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"]]}` ); |