aboutsummaryrefslogtreecommitdiffhomepage
path: root/package.json
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-09-24 00:21:24 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-09-24 00:40:50 +0800
commit9b3af498b0b4ad4fa402927d545b0dfc001771d0 (patch)
tree6ce223d09569be85790b119236d528d6ac80d5d0 /package.json
parent6500301ce49107886315dd47d1f710ef1a3dc41d (diff)
feat: add mapCache for rendered map
* apply new config option: "render", just pass function to replace "use" * check configList when render. If ID and config content are the same, use cache otherwise * remove CSS animation to prevent blinking when config changes very quick * fix method about checking showcase is visible. This prevent reused map gain focus.
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index 63644ba..8ef7b2e 100644
--- a/package.json
+++ b/package.json
@@ -50,7 +50,7 @@
50 "dependencies": { 50 "dependencies": {
51 "easymde": "^2.18.0", 51 "easymde": "^2.18.0",
52 "leader-line": "^1.0.7", 52 "leader-line": "^1.0.7",
53 "mapclay": "^0.6.7", 53 "mapclay": "^0.7.0",
54 "markdown-it": "^14.1.0", 54 "markdown-it": "^14.1.0",
55 "markdown-it-anchor": "^9.2.0", 55 "markdown-it-anchor": "^9.2.0",
56 "markdown-it-footnote": "^4.0.0", 56 "markdown-it-footnote": "^4.0.0",