Skip to content

Commit

Permalink
Exclude non-standard features
Browse files Browse the repository at this point in the history
  • Loading branch information
Elchi3 committed Jun 24, 2024
1 parent a599a89 commit c959c83
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ for (const feature of bcd.walk()) {
if (feature.id.split(".").length > 3 && !feature.id.startsWith("javascript") || feature.id.includes('_') ) {
continue;
}
if (!feature.mdn_url && !feature.deprecated && baseline) {
// Look for missing MDN URLs
if (!feature.mdn_url
&& !feature.deprecated
&& feature.data.__compat.status.standard_track ) {
all.push({id: feature.id, compat: feature.data.__compat, status: baseline});
}
}
Expand Down

0 comments on commit c959c83

Please sign in to comment.