mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-10-28 07:40:27 +01:00
Prettier applied to whole project, prettier added to pre-commit hook
This commit is contained in:
@@ -177,7 +177,7 @@ export default {
|
||||
setTimeout(() => {
|
||||
this.$axios
|
||||
.$get(
|
||||
"https://raw.githubusercontent.com/Anarios/return-youtube-dislike/main/Extensions/combined/manifest-chrome.json"
|
||||
"https://raw.githubusercontent.com/Anarios/return-youtube-dislike/main/Extensions/combined/manifest-chrome.json",
|
||||
)
|
||||
.then((res) => {
|
||||
this.userInformation.extension.latestExtensionVersion = res.version;
|
||||
|
||||
@@ -133,7 +133,7 @@ export default {
|
||||
},
|
||||
mounted() {
|
||||
fetch(
|
||||
"https://raw.githubusercontent.com/Anarios/return-youtube-dislike/main/Extensions/combined/manifest-chrome.json"
|
||||
"https://raw.githubusercontent.com/Anarios/return-youtube-dislike/main/Extensions/combined/manifest-chrome.json",
|
||||
)
|
||||
.then((response) => response.json())
|
||||
.then((json) => {
|
||||
|
||||
@@ -125,13 +125,13 @@ export default {
|
||||
if (videoId !== lastVideoId && videoId.length === 11) {
|
||||
fetch(
|
||||
"https://returnyoutubedislikeapi.com/votes?videoId=" +
|
||||
(lastVideoId = videoId)
|
||||
(lastVideoId = videoId),
|
||||
)
|
||||
.then((resp) => resp.json())
|
||||
.then(
|
||||
(data) =>
|
||||
(document.getElementById("output").innerText =
|
||||
"Likes=" + data.likes + " Dislikes=" + data.dislikes)
|
||||
"Likes=" + data.likes + " Dislikes=" + data.dislikes),
|
||||
);
|
||||
}
|
||||
};
|
||||
@@ -162,7 +162,8 @@ input {
|
||||
stroke: #f44;
|
||||
transition-property: opacity, transform;
|
||||
transform: scale(0) rotate(180deg);
|
||||
animation: popin 1s 0.3s ease-in-out 1 forwards,
|
||||
animation:
|
||||
popin 1s 0.3s ease-in-out 1 forwards,
|
||||
tap 0.3s 1.7s ease-in-out 1 forwards;
|
||||
}
|
||||
|
||||
|
||||
@@ -120,7 +120,7 @@ export default {
|
||||
{
|
||||
tag: "itsbudyn#6502",
|
||||
lang: "Polski",
|
||||
}
|
||||
},
|
||||
],
|
||||
coolProjects: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user