diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2018-10-23 22:08:47 +1100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-10-23 06:01:11 -0700 |
commit | dd230d520b5599c0e51cf30245a567f07b3cfb28 (patch) | |
tree | 44895680a35b6ff55ff42fc57cf9df03721e8cc7 /website/app.js | |
parent | 8ef7da261149ed03f25bdb5ea2611f8ce84a4d78 (diff) |
Support CheckJS
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"]]}` ); |