From 111dc1e25f43a1c783192d214a3697dee33bae82 Mon Sep 17 00:00:00 2001 From: mayx Date: Thu, 21 May 2026 08:27:59 +0000 Subject: [PATCH] Update 2 files - /assets/js/pjax.js - /index.html --- assets/js/pjax.js | 60 +++++++++-------------------------------------- index.html | 2 +- 2 files changed, 12 insertions(+), 50 deletions(-) diff --git a/assets/js/pjax.js b/assets/js/pjax.js index 1f663f3..3664392 100644 --- a/assets/js/pjax.js +++ b/assets/js/pjax.js @@ -17,7 +17,6 @@ // ========== 工具函数 ========== var _loadedScripts = {}; - var _pendingScripts = []; /** 动态加载外部 CSS(避免重复加载) */ function loadCSS(href) { @@ -25,11 +24,7 @@ $('').appendTo('head'); } - /** - * 动态加载外部 JS(避免重复) - * 用对象跟踪已加载的 URL,而不是检查 DOM 中的