Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor toc.js and upgrade deps (v1.6.6) #377

Merged
merged 4 commits into from
Jul 5, 2023
Merged

Refactor toc.js and upgrade deps (v1.6.6) #377

merged 4 commits into from
Jul 5, 2023

Conversation

LolipopJ
Copy link
Collaborator

@LolipopJ LolipopJ commented Jul 4, 2023

作为 hexo-theme-archer@1.6.6 版本的更新补丁,包含如下内容:

  1. Refactor: 重构了 src/toc.js 的部分实现,能正确识别各种姿势的滚动和点击事件并高亮(TOC malfunction #357)。不再自动设置页面的 URL,避免导致浏览器回退功能失效(URL不随浏览页面变动 #369)。
  2. Style: 优化了 Toc 颜色渐变速度。
  3. Chore: 优化控制台信息展示,自动读取 package.json 中的内容(Don't repeat yourself)。
  4. Chore: 更新了项目依赖包版本,修复代码格式化问题。

@LolipopJ LolipopJ merged commit c2dc387 into master Jul 5, 2023
1 check passed
Stark-X pushed a commit to Stark-X/hexo-theme-archer that referenced this pull request Apr 1, 2024
Refactor `toc.js` and upgrade deps (v1.6.6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants