Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hexo-theme-shokax

Package Overview
Dependencies
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-theme-shokax - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

2

package.json
{
"name": "hexo-theme-shokax",
"version": "0.0.6",
"version": "0.0.7",
"description": "a hexo theme based on shoka",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -68,6 +68,8 @@ # hexo-theme-shokaX

## 贡献者
| 名称 | 站点 | 描述 |
|:-----------|:---------------------------|:-----------------------|
| Lavender | https://www.lavenderdh.cn/ | 提供了大量shoka主题的魔改 |
| AdminZhang | https://www.a9-9.top/ | 为本项目提供了大量想法并进行了DEBUG工作 |
shokaX的贡献者包括以非代码形式进行贡献的开发者(例如社区教程、想法分享、DEBUG等)和以代码形式进行贡献的开发者
| 名称 | 站点 |
|:-----------|:---------------------------|
| Lavender | https://www.lavenderdh.cn/ |
| AdminZhang | https://www.a9-9.top/ |
| D-Sketon | http://d-sketon.top/ |

@@ -291,25 +291,13 @@ const getDocHeight = () => $dom('main > .inner').offsetHeight;

};
const pageScroll = (target, offset, complete) => {
const pageScroll = function (target, offset, complete) {
const opt = {
left: 0,
behavior: "smooth"
targets: typeof offset === 'number' ? target.parentNode : document.scrollingElement,
duration: 500,
easing: 'easeInOutQuad',
scrollTop: offset || (typeof target === 'number' ? target : (target ? target.top() + document.documentElement.scrollTop - siteNavHeight : 0)),
complete: function () {
complete && complete();
}
};
if (typeof target === "number") {
opt.top = target;
}
else {
if (typeof target === 'number') {
opt.top = offset || target;
}
else {
if (offset || target) {
opt.top = target.top() + document.documentElement.scrollTop - siteNavHeight;
}
else {
opt.top = 0;
}
}
}
scrollTo(opt);
complete && complete();
anime(opt);
};
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc