mirror of
https://github.com/ipfs/ipfs-blog.git
synced 2026-08-07 01:12:47 +02:00
fix: fix javascript not working in firefox (#77)
This commit is contained in:
Generated
+1162
-1580
File diff suppressed because it is too large
Load Diff
+21
-21
@@ -17,36 +17,36 @@
|
||||
"singleQuote": true
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vuepress/plugin-blog": "^1.9.3",
|
||||
"@vuepress/plugin-blog": "^1.9.4",
|
||||
"@vuepress/plugin-html-redirect": "^0.1.2",
|
||||
"@vuepress/plugin-last-updated": "^1.7.1",
|
||||
"eslint": "^7.13.0",
|
||||
"@vuepress/plugin-last-updated": "^1.8.2",
|
||||
"eslint": "^7.21.0",
|
||||
"eslint-config-prettier": "^6.15.0",
|
||||
"eslint-config-standard": "^16.0.1",
|
||||
"eslint-config-standard": "^16.0.2",
|
||||
"eslint-plugin-import": "^2.22.1",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"eslint-plugin-prettier": "^3.1.4",
|
||||
"eslint-plugin-promise": "^4.2.1",
|
||||
"eslint-plugin-prettier": "^3.3.1",
|
||||
"eslint-plugin-promise": "^4.3.1",
|
||||
"eslint-plugin-standard": "^4.1.0",
|
||||
"eslint-plugin-vue": "^7.1.0",
|
||||
"husky": "^4.3.0",
|
||||
"lint-staged": "^10.5.1",
|
||||
"lodash": "^4.17.20",
|
||||
"eslint-plugin-vue": "^7.7.0",
|
||||
"husky": "^4.3.8",
|
||||
"lint-staged": "^10.5.4",
|
||||
"lodash": "^4.17.21",
|
||||
"markdown-it-deflist": "^2.1.0",
|
||||
"markdown-it-footnote": "^3.0.2",
|
||||
"markdown-it-task-lists": "^2.1.1",
|
||||
"markdown-it-video": "^0.6.3",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"postcss-nested": "^4.2.3",
|
||||
"prettier": "^2.1.2",
|
||||
"slug": "^4.0.2",
|
||||
"standard-version": "^9.0.0",
|
||||
"stylelint": "^13.7.2",
|
||||
"prettier": "^2.2.1",
|
||||
"slug": "^4.0.3",
|
||||
"standard-version": "^9.1.1",
|
||||
"stylelint": "^13.12.0",
|
||||
"stylelint-config-prettier": "^8.0.2",
|
||||
"stylelint-prettier": "^1.1.2",
|
||||
"svg-sprite-loader": "^5.0.0",
|
||||
"stylelint-prettier": "^1.2.0",
|
||||
"svg-sprite-loader": "^5.2.1",
|
||||
"svgo": "^1.3.2",
|
||||
"svgo-loader": "^2.2.1",
|
||||
"svgo-loader": "^2.2.2",
|
||||
"tailwindcss": "^1.9.6",
|
||||
"tailwindcss-line-clamp": "^1.0.5",
|
||||
"tailwindcss-touch": "^1.0.1",
|
||||
@@ -69,16 +69,16 @@
|
||||
"*.{css,styl}": "stylelint --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
"dayjs": "^1.9.6",
|
||||
"dayjs": "^1.10.4",
|
||||
"tailwindcss-typography": "^3.1.0",
|
||||
"v-lazy-image": "^1.4.0",
|
||||
"v-scroll-lock": "^1.3.1",
|
||||
"vue-advanced-cropper": "^1.3.0",
|
||||
"vue-advanced-cropper": "^1.3.1",
|
||||
"vue-mq": "^1.0.1",
|
||||
"vue-multiselect": "^2.1.6",
|
||||
"vue-observe-visibility": "^0.4.6",
|
||||
"vue-social-sharing": "^3.0.4",
|
||||
"vue-social-sharing": "^3.0.5",
|
||||
"vuepress-plugin-img-lazy": "^1.0.4",
|
||||
"vuex": "^3.5.1"
|
||||
"vuex": "^3.6.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,6 +37,10 @@ export default {
|
||||
type: Boolean,
|
||||
default: null,
|
||||
},
|
||||
name: {
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
...mapState('appState', ['activeAuthor']),
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
<div class="flex flex-grow">
|
||||
<PostMeta
|
||||
:category="frontmatter.type"
|
||||
:author="null"
|
||||
:date="frontmatter.date"
|
||||
:tags="frontmatter.tags"
|
||||
:title="title"
|
||||
|
||||
@@ -138,8 +138,8 @@ export default {
|
||||
}
|
||||
})
|
||||
|
||||
return result.sort((a, b) =>
|
||||
a.frontmatter.date > b.frontmatter.date ? -1 : 1
|
||||
return result.sort(
|
||||
(a, b) => new Date(b.frontmatter.date) - new Date(a.frontmatter.date)
|
||||
)
|
||||
},
|
||||
pagesToShow() {
|
||||
|
||||
Reference in New Issue
Block a user