Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,20 @@ <h1>GitHub Feature Support Table</h1>
<td data-supported="true"><div>117+</div></td>
<td data-supported="true"><div>*</div></td>
</tr>
<tr>
<th>
<a href="https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API">
<code>command & commandfor</code>
</a>
</th>
<td data-polyfill="commandAndCommandFor"><div>*</div></td>
<td data-supported="true"><div>135+</div></td>
<td data-supported="false"><div>*</div></td>
<td data-supported="false"><div>*</div></td>
<td data-supported="false"><div>*</div></td>
<td data-supported="false"><div>*</div></td>
<td data-supported="false"><div>*</div></td>
</tr>
<tr>
<th></th>
<th colspan="7"><h3>Native Syntax</h3></th>
Expand Down
9 changes: 8 additions & 1 deletion package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
},
"dependencies": {
"@oddbird/popover-polyfill": "^0.5.2",
"dialog-toggle-events-polyfill": "^1.1.2"
"dialog-toggle-events-polyfill": "^1.1.2",
"invokers-polyfill": "^0.5.2"
}
}
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import * as withResolvers from './promise-withResolvers.js'
import * as requestIdleCallback from './requestidlecallback.js'
import * as popover from '@oddbird/popover-polyfill/fn'
import * as dialogToggleEvents from 'dialog-toggle-events-polyfill/fn'
import * as commandAndCommandFor from 'invokers-polyfill/fn'

let supportsModalPseudo = false
try {
Expand Down Expand Up @@ -53,6 +54,7 @@ export const polyfills = {
withResolvers,
popover,
dialogToggleEvents,
commandAndCommandFor,
}

export function isSupported() {
Expand Down
Loading