Skip to content

Commit

Permalink
fix(gadget-prism): dependency issue (#458)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhsd-harry authored Apr 10, 2024
1 parent 11f72c1 commit 8f1f48f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gadgets/prism/MediaWiki:Gadget-prism.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict";
$(() => {
window.Prism = { manual: true };
Prism.manual = true;
const acceptsLangs = {
// css
css: "css",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
const script = document.createElement("script");
script.addEventListener("load", resolve);
script.type = "module";
script.src = "https://testingcf.jsdelivr.net/npm/@bhsd/codemirror-mediawiki/dist/mw.min.js";
script.src = "https://testingcf.jsdelivr.net/npm/@bhsd/codemirror-mediawiki@latest/dist/mw.min.js";
document.head.append(script);
});
}
Expand Down

0 comments on commit 8f1f48f

Please sign in to comment.