hexo-theme-particlex 2.5.5 → 2.5.6

Sign up to get free protection for your applications and to get access to all the features.
package/layout/import.ejs CHANGED
@@ -1,5 +1,5 @@
1
- <script src="https://cdn.staticfile.org/vue/3.2.45/vue.global.prod.min.js"></script>
2
- <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.2.1/css/all.min.css" />
1
+ <script src="https://cdn.staticfile.org/vue/3.2.47/vue.global.prod.min.js"></script>
2
+ <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.3.0/css/all.min.css" />
3
3
  <link rel="stylesheet" href="<%- url_for("/css/fonts.min.css") %>" />
4
4
  <script> const mixins = {}; </script>
5
5
  <% if (theme.polyfill.enable) { %>
@@ -35,12 +35,12 @@
35
35
  <link rel="stylesheet" href="https://cdn.staticfile.org/gitalk/1.8.0/gitalk.min.css" />
36
36
  <% } %>
37
37
  <% if (theme.waline.enable) { %>
38
- <script src="https://cdn.staticfile.org/waline/2.14.7/waline.min.js"></script>
39
- <link rel="stylesheet" href="https://cdn.staticfile.org/waline/2.14.7/waline.min.css" />
40
- <link rel="stylesheet" href="https://cdn.staticfile.org/waline/2.14.7/waline-meta.min.css" />
38
+ <script src="https://cdn.staticfile.org/waline/2.14.8/waline.min.js"></script>
39
+ <link rel="stylesheet" href="https://cdn.staticfile.org/waline/2.14.8/waline.min.css" />
40
+ <link rel="stylesheet" href="https://cdn.staticfile.org/waline/2.14.8/waline-meta.min.css" />
41
41
  <% } %>
42
42
  <% if (theme.twikoo.enable) { %>
43
- <script src="https://cdn.staticfile.org/twikoo/1.6.8/twikoo.all.min.js"></script>
43
+ <script src="https://cdn.staticfile.org/twikoo/1.6.10/twikoo.all.min.js"></script>
44
44
  <% } %>
45
45
  <% } %>
46
46
  <% if (type === "index") { %>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-particlex",
3
- "version": "2.5.5",
3
+ "version": "2.5.6",
4
4
  "description": "A concise Hexo theme, based on Particle.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,6 +1,9 @@
1
1
  mixins.crypto = {
2
2
  data() {
3
- return { crypto: "", check: false };
3
+ return {
4
+ crypto: "",
5
+ check: false,
6
+ };
4
7
  },
5
8
  methods: {
6
9
  SHA(word) {
@@ -1,6 +1,8 @@
1
1
  mixins.highlight = {
2
2
  data() {
3
- return { copying: false };
3
+ return {
4
+ copying: false,
5
+ };
4
6
  },
5
7
  created() {
6
8
  hljs.configure({ ignoreUnescapedHTML: true });
@@ -1,6 +1,8 @@
1
1
  mixins.preview = {
2
2
  data() {
3
- return { previewShow: false };
3
+ return {
4
+ previewShow: false,
5
+ };
4
6
  },
5
7
  created() {
6
8
  this.renderers.push(this.preview);
@@ -1,6 +1,8 @@
1
1
  mixins.search = {
2
2
  data() {
3
- return { rawSearch: "" };
3
+ return {
4
+ rawSearch: "",
5
+ };
4
6
  },
5
7
  watch: {
6
8
  search(value) {
package/source/js/main.js CHANGED
@@ -1,7 +1,12 @@
1
1
  const app = Vue.createApp({
2
2
  mixins: Object.values(mixins),
3
3
  data() {
4
- return { loading: true, showMenu: false, barLocal: 0, renderers: [] };
4
+ return {
5
+ loading: true,
6
+ showMenu: false,
7
+ barLocal: 0,
8
+ renderers: [],
9
+ };
5
10
  },
6
11
  created() {
7
12
  window.addEventListener("load", () => {