hexo-theme-shokax 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
6
|
exports.setSiteSearch = exports.setToolBtn = exports.setShowContents = exports.setGoToComment = exports.setBackToTop = exports.setToolPlayer = exports.setOriginTitle = exports.setPjax = exports.setLocalUrl = exports.setLocalHash = exports.setTitleTime = exports.setDiffY = exports.setOWinWidth = exports.setOWinHeight = exports.setHeaderHight = exports.setHeaderHightInner = exports.setSiteNavHeight = exports.pjax = exports.LOCAL_URL = exports.LOCAL_HASH = exports.oWinWidth = exports.oWinHeight = exports.headerHight = exports.headerHightInner = exports.siteNavHeight = exports.siteSearch = exports.showContents = exports.goToComment = exports.backToTop = exports.toolPlayer = exports.toolBtn = exports.siteBrand = exports.sideBar = exports.quickBtn = exports.menuToggle = exports.siteHeader = exports.siteNav = exports.loadCat = exports.Container = exports.HTML = exports.BODY = exports.titleTime = exports.originTitle = exports.diffY = exports.scrollAction = exports.statics = void 0;
|
4
7
|
const dom_1 = require("../library/dom");
|
8
|
+
const proto_1 = __importDefault(require("../library/proto"));
|
9
|
+
(0, proto_1.default)();
|
5
10
|
exports.statics = CONFIG.statics.indexOf('//') > 0 ? CONFIG.statics : CONFIG.root;
|
6
11
|
exports.scrollAction = { x: 0, y: 0 };
|
7
12
|
exports.diffY = 0;
|
@@ -1,16 +1,11 @@
|
|
1
1
|
"use strict";
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
-
};
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
3
|
const sidebar_1 = require("../components/sidebar");
|
7
4
|
const globalVars_1 = require("../globals/globalVars");
|
8
5
|
const thirdparty_1 = require("../globals/thirdparty");
|
9
6
|
const dom_1 = require("../library/dom");
|
10
7
|
const player_1 = require("../player");
|
11
|
-
const proto_1 = __importDefault(require("../library/proto"));
|
12
8
|
function domInit() {
|
13
|
-
(0, proto_1.default)();
|
14
9
|
dom_1.$dom.each('.overview .menu > .item', (el) => {
|
15
10
|
globalVars_1.siteNav.child('.menu').appendChild(el.cloneNode(true));
|
16
11
|
});
|