Skip to content

Commit

Permalink
feat: Update echarts library version
Browse files Browse the repository at this point in the history
Updated the echarts library version from 5.4.2 to 5.4.3 in order to fix known issues and improve functionality. This change was made to the queryContributions.js file in the MediaWiki:Gadget-queryContributions.js directory.
  • Loading branch information
AnnAngela committed Jul 21, 2023
1 parent 7400587 commit d6a017e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/detectHardcodedOutdatedNPMPackages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ for (const src of scripts) {
console.info("Outdated package:", outdatedPackages);
await createIssue(
"Found harcoded-outdated NPM packages.",
`The harcoded-outdated NPM packages are found in [\`${src}\`](${src}).`,
`The harcoded-outdated NPM packages are found in [\`../blob/master/${src}\`](${src}).`,
labels,
`The harcoded-outdated NPM packages:\n\`\`\`json\n${JSON.stringify(outdatedPackages, null, 4)}\n\``,
`The harcoded-outdated NPM packages:\n\`\`\`json\n${JSON.stringify(outdatedPackages, null, 4)}\n\`\`\``,
);
}
console.info("Done.");
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ $(() => (async () => {
fieldset.find("#toChartQueryContributions").on("click", async (e) => {
$(e.target).remove();
fieldset.append("<div id=\"contributionChart\" style=\"width: 100%; height: 400px;\">加载中……</div>");
await libCachedCode.injectCachedCode("https://npm.elemecdn.com/echarts@5.4.2/dist/echarts.min.js", "script");
await libCachedCode.injectCachedCode("https://npm.elemecdn.com/echarts@5.4.3/dist/echarts.min.js", "script");
const chart = echarts.init(document.getElementById("contributionChart"));
chart.setOption({
tooltip: {
Expand Down

0 comments on commit d6a017e

Please sign in to comment.