Typo in README: semicolon in object notation
Closed this issue · 0 comments
tondi commented
https://github.com/WICG/import-maps#dynamic-import-map-example
index 2846097..6de91e7 100644
--- a/README.md
+++ b/README.md
@@ -389,7 +389,7 @@ const im = document.createElement('script');
im.type = 'importmap';
im.textContent = JSON.stringify({
imports: {
- 'my-library': Math.random() > 0.5 ? '/my-awesome-library.mjs' : '/my-rad-library.mjs';
+ 'my-library': Math.random() > 0.5 ? '/my-awesome-library.mjs' : '/my-rad-library.mjs'
}
});
document.currentScript.after(im);