Giter VIP home page Giter VIP logo

Comments (4)

ChrAlpha avatar ChrAlpha commented on July 17, 2024

我在本地单元测试,无论是调用 v0.4 还是 v0.5 的 darkmode.js,都没能复现问题。
拜访了下您的站点,似乎对主题进行了深度定制(比如 note 标签),如果可以的话方便公开部分源代码以供调试吗?

from hexo-theme-cards.

jalenzz avatar jalenzz commented on July 17, 2024

这是博客公开仓库 https://github.com/royce003/simpleHexo ,note 标签的 css 也是新增了一个文件,在 https://github.com/royce003/simpleHexo/blob/master/themes/cards/source/css/tag_plugin.styl ,其他的基本未修改。

然后,报错是在 demo 中发生的,我这试了多个浏览器,都是报错。
image

from hexo-theme-cards.

ChrAlpha avatar ChrAlpha commented on July 17, 2024

明白了,dist/js/ 中的文件没有和 source/js/ 中的 darkmode.js 同步,之前修复 onload bug 的时候没有更新资源文件夹。

现已更新,部分地区由于 CDN 缘故可能会有不同程度的滞后。

from hexo-theme-cards.

jalenzz avatar jalenzz commented on July 17, 2024

嗯嗯。

from hexo-theme-cards.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.