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

hexo-theme-shokax

Package Overview
Dependencies
Maintainers
0
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.5.0-dev-31f9f21 to 0.5.0-dev-4774f82

3

package.json
{
"name": "hexo-theme-shokax",
"version": "0.5.0-dev-31f9f21",
"version": "0.5.0-dev-4774f82",
"description": "a hexo theme based on shoka",

@@ -45,3 +45,2 @@ "main": "index.js",

"mouse-firework": "^0.0.6",
"quicklink": "^2.3.0",
"theme-shokax-anime": "^0.0.7",

@@ -48,0 +47,0 @@ "twikoo": "^1.6.39",

@@ -62,6 +62,2 @@ var __create = Object.create;

},
quicklink: {
timeout: theme.quicklink.timeout,
priority: theme.quicklink.priority
},
playerAPI: theme.playerAPI,

@@ -68,0 +64,0 @@ experiments: {

@@ -112,7 +112,2 @@ type vendorUrl = {

walinePageView: boolean
quicklink: {
ignores: any
timeout: number
priority: boolean
}
playerAPI: string

@@ -119,0 +114,0 @@ experiments: {

import { cardActive } from '../page/common'
import { resizeHandle } from '../globals/handles'
import {
CONFIG,
setLocalHash, setLocalUrl, setOriginTitle,
toolPlayer
} from '../globals/globalVars'

@@ -19,3 +17,3 @@ import { positionInit } from '../globals/tools'

// @ts-ignore
await import('katex/dist/katex.min.css')
// await import('katex/dist/katex.min.css')
await import('katex/dist/contrib/copy-tex.mjs')

@@ -99,6 +97,11 @@

if (__shokax_player__) {
toolPlayer.player.load(LOCAL.audio || CONFIG.audio || {})
// if (__shokax_player__) {
// toolPlayer.player.load(LOCAL.audio || CONFIG.audio || {})
// }
if (sessionStorage.getItem('loaded') === 'true') {
Loader.hide(30)
} else {
sessionStorage.setItem('loaded', 'true')
Loader.hide(500)
}
Loader.hide(100)

@@ -105,0 +108,0 @@ setTimeout(() => {

@@ -17,7 +17,2 @@ import domInit from './domInit'

CONFIG.quicklink.ignores = LOCAL.ignores
import('quicklink').then(({listen}) => {
listen(CONFIG.quicklink)
})
autoDarkmode()

@@ -74,10 +69,2 @@

// window.addEventListener('pjax:send', pjaxReload, {
// passive: true
// })
// window.addEventListener('pjax:success', siteRefresh, {
// passive: true
// }) // 默认会传入一个event参数
window.addEventListener('beforeunload', () => {

@@ -87,2 +74,3 @@ pagePosition()

await siteRefresh(1)
// TODO 修复内页跳转后重复出现加载动画的问题
}

@@ -89,0 +77,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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