Skip to content

Commit

Permalink
deploy: d917d2d
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 3, 2023
1 parent e4b0b7c commit 0bcbfae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions roadmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
);
for (const { name: featName, description, url } of features) {
const detectResult = h('td', {
headers: [idMap['table-col']('Your browser'), idMap['table-row'](featName)].join(' ')
headers: [idMap['table-col']('Your browser'), idMap['table-row'](featName)].join(' ')
}, [buildCellInner('loading')]);

detectWasmFeature(featName).then(supported => {
Expand Down Expand Up @@ -384,8 +384,10 @@
}

function _loadFeatureDetectModule() {
// Be sure to change the preloads in markdown when updating url.
const module = import('https://cdn.jsdelivr.net/npm/wasm-feature-detect@1.5/dist/esm/index.js');
// Please cache bust by bumping the `v` parameter whenever `feature.json` is
// updated to depend on a new version of the library. See #353 for discussion.
// Make sure to also match the preload link in `roadmap.md`.
const module = import('https://unpkg.com/wasm-feature-detect@1/dist/esm/index.js?v=1');
return (featureName) => module
.then(wasmFeatureDetect => wasmFeatureDetect[featureName]());
}
Expand Down
2 changes: 1 addition & 1 deletion roadmap/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ <h1 id="roadmap">Roadmap</h1>

<script src="/roadmap.js"></script>

<link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/wasm-feature-detect@1/dist/esm/index.js" />
<link rel="modulepreload" href="https://unpkg.com/wasm-feature-detect@1/dist/esm/index.js?v=1" />

<link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/@floating-ui/dom@1/+esm" />

Expand Down

0 comments on commit 0bcbfae

Please sign in to comment.