Update caniuse help message and stats strategy

This commit is contained in:
Folyd 2020-10-11 18:02:20 +08:00
parent c6069db65b
commit d82e1bb81d
2 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@ class HelpCommand extends Command {
"#": `Prefix ${c.match("#")} to search builtin attributes`,
"%": `Prefix ${c.match("%")} to search Rust official book chapters`,
">": `Prefix ${c.match(">")} to search Rust clippy lints`,
"?": `[WIP] Prefix ${c.match("?")} to search Rust tracking issues`,
"?": `Prefix ${c.match("?")} to search caniuse.rs, prefix ${c.match("??")} can redirect to the RFC page`,
};
return Object.entries(value).map(([key, description], index) => {
return {content: key, description};

View file

@ -49,10 +49,10 @@ let stats = [
},
{
name: "Others",
pattern: /^[>%].*/i,
pattern: /^[>%?].*/i,
value: 0,
color: "#ededed",
description: "Others count any Clippy lint (>) or book (%) prefix searches."
description: "Others count any Clippy lint (>), book (%), and caniuse/rfc (?) prefix searches."
},
];
let calendarData = [];