Skip to content

Commit e8758ee

Browse files
ranxi2001claude
andcommitted
Add cache bust to acm-playground.js and acm-bridge.js
Ensures browsers load the latest version with UTF-8 base64 decode fix for Chinese comments in code. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 49a9799 commit e8758ee

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
window.Z2L_NAV = [{% for module in site.data.nav.modules %}{% for article in module.articles %}{"path":"{{ module.slug }}/{{ article.slug }}","title":"{{ article.title | replace: '"', '\"' }}"},{% endfor %}{% if module.groups %}{% for group in module.groups %}{% for article in group.articles %}{"path":"{{ module.slug }}/{{ article.slug }}","title":"{{ article.title | replace: '"', '\"' }}"},{% endfor %}{% endfor %}{% endif %}{% endfor %}];
195195
</script>
196196
<script src="{{ site.baseurl }}/assets/js/docs.js?v=3"></script>
197-
<script src="{{ site.baseurl }}/assets/js/acm-bridge.js"></script>
197+
<script src="{{ site.baseurl }}/assets/js/acm-bridge.js?v=2"></script>
198198
</body>
199199

200200
</html>

acm-playground.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
<!-- Pyodide -->
220220
<script src="https://cdn.jsdelivr.net/pyodide/v0.26.4/full/pyodide.js"></script>
221221
<!-- ACM Playground Logic -->
222-
<script src="assets/js/acm-playground.js"></script>
222+
<script src="assets/js/acm-playground.js?v=3"></script>
223223
<!-- Theme toggle -->
224224
<script>
225225
(function () {

0 commit comments

Comments
 (0)