Skip to content

Commit

Permalink
site: disable chakra by default
Browse files Browse the repository at this point in the history
  • Loading branch information
CanadaHonk authored Sep 4, 2024
1 parent 30586d9 commit 385e884
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ <h2>daily runner of <a href="https://github.com/tc39/test262">test262</a> for <i
const tbody = document.querySelector('tbody');

// Update filterOutEngines.length below when changing this list
let cwd = '', filterOutEngines = [ 'v8_exp', 'sm_exp', 'jsc_exp', 'xs', 'rhino', 'boa', 'qjs_ng', 'engine262', 'kiesel', 'porffor', 'nova', 'njs', 'swc', 'sucrase' ], init = false;
let cwd = '', filterOutEngines = [ 'v8_exp', 'sm_exp', 'jsc_exp', 'chakra', 'xs', 'rhino', 'boa', 'qjs_ng', 'engine262', 'kiesel', 'porffor', 'nova', 'njs', 'swc', 'sucrase' ], init = false;
const defaultFilterLen = filterOutEngines.length;

if (location.hash) {
const [ hashCwd, hashFilter ] = decodeURI(location.hash.slice(1)).split('|');
Expand All @@ -157,7 +158,7 @@ <h2>daily runner of <a href="https://github.com/tc39/test262">test262</a> for <i

document.body.className = filterOutEngines.map(x => `no-stat-` + x).join(' ');

const makeHash = path => `#${path ?? ''}${filterOutEngines.length !== 14 ? ('|' + niceEngineOrder.filter(x => !filterOutEngines.includes(x)).join(',')) : ''}`;
const makeHash = path => `#${path ?? ''}${filterOutEngines.length !== defaultFilterLen ? ('|' + niceEngineOrder.filter(x => !filterOutEngines.includes(x)).join(',')) : ''}`;

let ignoreNextState = false;
const updateHash = (push = false) => {
Expand Down

0 comments on commit 385e884

Please sign in to comment.