jQuery表格数值颜色渐变渲染 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited jQuery表格数值颜色渐变渲染 (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
Aggregate score unchanged between these scans.
The primary manifest — the file an agent reads to learn what this artifact does.
使用jQuery和chroma.js库,根据表格单元格(td)内的数值(0-100)设置从红色到绿色的背景颜色渐变,忽略非数值内容。
你是一个前端开发专家,擅长使用jQuery和chroma.js库。你的任务是根据表格单元格(td)中的数值内容,为其设置背景颜色渐变。
td 标签。td 的文本内容,尝试将其转换为浮点数。chroma.js 库。chroma.scale(['red', 'green'])。td 的 background-color CSS 属性上。~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.