Skip to content

Commit

Permalink
Update templates.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmedley committed Apr 19, 2024
1 parent d3a67c8 commit 7ab1a6b
Show file tree
Hide file tree
Showing 21 changed files with 24 additions and 70 deletions.
2 changes: 1 addition & 1 deletion .update
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Mon Apr 15 2024 11:51:15 GMT-0700 (Pacific Daylight Time)
Fri Apr 19 2024 13:24:50 GMT-0700 (Pacific Daylight Time)
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"url": "https://github.com/jpmedley/MDNBanter/issues"
},
"dependencies": {
"@mdn/browser-compat-data": "^5.5.21",
"@mdn/browser-compat-data": "^5.5.22",
"config": "^1.31.0",
"download": "^8.0.0",
"enquirer": "2.3.5",
Expand Down
5 changes: 1 addition & 4 deletions templates/clear.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
title: [[shared:interface]].clear()
slug: Web/API/[[shared:interface]]/clear
tags:
- clear
- Method
- Reference
page-type: web-api-instance-method
browser-compat: api.[[shared:interface]].clear
---
[[shared:isSecureContext]]{{DefaultAPISidebar("[[shared:sidebarMacro]]")}}
Expand Down
4 changes: 1 addition & 3 deletions templates/constructor.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
title: [[shared:interface]].[[shared:interface]]()
slug: Web/API/[[shared:interface]]/[[shared:interface]]
tags:
- Constructor
- Reference
page-type: web-api-constructor
browser-compat: api.[[shared:interface]].[[shared:interface]]
---
[[shared:isSecureContext]]{{DefaultAPISidebar("[[shared:sidebarMacro]]")}}
Expand Down
4 changes: 1 addition & 3 deletions templates/css.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
title: [[selector]]
slug: Web/CSS/[[selector]]
tags:
- CSS
- Reference
page-type: web-api-interface
browser-compat: css.selectors.[[selector]]
---
{{CSSRef}}
Expand Down
4 changes: 1 addition & 3 deletions templates/delete.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
title: [[shared:interface]].delete()
slug: Web/API/[[shared:interface]]/delete
tags:
- Method
- Reference
page-type: web-api-instance-method
browser-compat: api.[[shared:interface]].delete
---
[[shared:isSecureContext]]{{DefaultAPISidebar("[[shared:sidebarMacro]]")}}
Expand Down
6 changes: 1 addition & 5 deletions templates/directive.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
---
title: 'CSP: [[directive]]'
slug: Web/HTTP/Headers/[[shared:header]]/[[directive]]
tags:
- CSP
- Directive
- HTTP
- Reference
page-type: http-header
browser-compat: http.headers.[[shared:header]].[[directive]]
---
{{HTTPSidebar}}
Expand Down
4 changes: 1 addition & 3 deletions templates/entries.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
title: [[shared:interface]].entries()
slug: Web/API/[[shared:interface]]/entries
tags:
- Method
- Reference
page-type: web-api-instance-method
browser-compat: api.[[shared:interface]].entries
---
[[shared:isSecureContext]]{{DefaultAPISidebar("[[shared:sidebarMacro]]")}}
Expand Down
5 changes: 1 addition & 4 deletions templates/foreach.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
title: [[shared:interface]].forEach()
slug: Web/API/[[shared:interface]]/forEach
tags:
- forEach
- Method
- Reference
page-type: web-api-instance-method
browser-compat: api.[[shared:interface]].forEach
---
[[shared:isSecureContext]]{{DefaultAPISidebar("[[shared:sidebarMacro]]")}}
Expand Down
5 changes: 1 addition & 4 deletions templates/get.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
title: [[shared:interface]].get()
slug: Web/API/[[shared:interface]]/get
tags:
- get
- Method
- Reference
page-type: web-api-instance-method
browser-compat: api.[[shared:interface]].get
---
[[shared:isSecureContext]]{{DefaultAPISidebar("[[shared:sidebarMacro]]")}}
Expand Down
5 changes: 1 addition & 4 deletions templates/has.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
title: [[shared:interface]].has()
slug: Web/API/[[shared:interface]]/has
tags:
- has
- Method
- Reference
page-type: web-api-instance-method
browser-compat: api.[[shared:interface]].has
---
[[shared:isSecureContext]]{{DefaultAPISidebar("[[shared:sidebarMacro]]")}}
Expand Down
4 changes: 1 addition & 3 deletions templates/header.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
title: [[shared:header]]
slug: Web/HTTP/Headers/[[shared:header]]
tags:
- HTTP
- Reference
page-type: http-header
browser-compat: http.headers.[[shared:header]]
---
{{HTTPSidebar}}
Expand Down
4 changes: 1 addition & 3 deletions templates/interface.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
title: [[shared:interface]]
slug: Web/API/[[shared:interface]]
tags:
- Interface
- Reference
page-type: web-api-interface
browser-compat: api.[[shared:interface]]
---
[[shared:isSecureContext]]{{DefaultAPISidebar("[[shared:sidebarMacro]]")}}
Expand Down
5 changes: 1 addition & 4 deletions templates/keys.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
title: [[shared:interface]].keys()
slug: Web/API/[[shared:interface]]/keys
tags:
- keys
- Method
- Reference
page-type: web-api-instance-method
browser-compat: api.[[shared:interface]].keys
---
[[shared:isSecureContext]]{{DefaultAPISidebar("[[shared:sidebarMacro]]")}}
Expand Down
4 changes: 1 addition & 3 deletions templates/landing.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
title: [[shared:formalAPIName]]
slug: Web/API/[[slug]]
tags:
- Overview
- Reference
page-type: web-api-overview
browser-compat: api.[[shared:interface]]
---
[[shared:isSecureContext]]{{DefaultAPISidebar("[[shared:sidebarMacro]]")}}
Expand Down
4 changes: 1 addition & 3 deletions templates/method.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
title: [[shared:interface]].[[method]]()
slug: Web/API/[[shared:interface]]/[[method]]
tags:
- Method
- Reference
page-type: web-api-instance-method
browser-compat: api.[[shared:interface]].[[method]]
---
[[shared:isSecureContext]]{{DefaultAPISidebar("[[shared:sidebarMacro]]")}}
Expand Down
4 changes: 1 addition & 3 deletions templates/property.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
title: [[shared:interface]].[[property]]
slug: Web/API/[[shared:interface]]/[[property]]
tags:
- Property
- Reference
page-type: web-api-instance-prop
browser-compat: api.[[shared:interface]].[[property]]
---
[[shared:isSecureContext]]{{DefaultAPISidebar("[[shared:sidebarMacro]]")}}
Expand Down
5 changes: 1 addition & 4 deletions templates/set.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
title: [[shared:interface]].set()
slug: Web/API/[[shared:interface]]/set
tags:
- set
- Method
- Reference
page-type: web-api-instance-method
browser-compat: api.[[shared:interface]].set
---
[[shared:isSecureContext]]{{DefaultAPISidebar("[[shared:sidebarMacro]]")}}
Expand Down
5 changes: 1 addition & 4 deletions templates/size.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
title: [[shared:interface]].size()
slug: Web/API/[[shared:interface]]/size
tags:
- size
- Method
- Reference
page-type: web-api-instance-method
browser-compat: api.[[shared:interface]].size
---
{{draft}}[[shared:isSecureContext]]{{DefaultAPISidebar("[[shared:sidebarMacro]]")}}
Expand Down
5 changes: 1 addition & 4 deletions templates/values.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
title: [[shared:interface]].values()
slug: Web/API/[[shared:interface]]/values
tags:
- values
- Method
- Reference
page-type: web-api-instance-method
browser-compat: [[shared:interface]].values
---
[[shared:isSecureContext]]{{DefaultAPISidebar("[[shared:sidebarMacro]]")}}
Expand Down

0 comments on commit 7ab1a6b

Please sign in to comment.