diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2018-10-25 06:26:21 +1100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-10-24 15:29:30 -0700 |
commit | 2cfa60832496902089b9d73d3954318aa8a1fe2a (patch) | |
tree | a5aa3682034f4d3e33d8e115874b576bcc0ffa13 /website | |
parent | 0501330607b000e0913994e633b76410e1fd162c (diff) |
Support CheckJS
Diffstat (limited to 'website')
-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"]]}` ); |