Add devcontainer configuration and Dependabot setup

- Created a new devcontainer.json file for an Alpine-based development environment.
- Added a Dependabot configuration file to automate dependency updates for devcontainers.
This commit is contained in:
Marek Lesko
2025-08-05 10:13:48 +00:00
parent aeeb62118e
commit ae69533a35
137 changed files with 75931 additions and 75897 deletions

View File

@@ -1,33 +1,33 @@
const count = () => {
const countContainers = document.querySelectorAll(".count-container");
if (!count) {
return;
}
countContainers.forEach((countContainer) => {
const countIput = countContainer.querySelector("input");
const minCount = countContainer.querySelector(".mincount");
const maxCount = countContainer.querySelector(".maxcount");
minCount.addEventListener("click", () => {
let currentValue = parseInt(countIput.value);
if (currentValue === 0 || currentValue < 0) {
if (currentValue === 0) {
currentValue = 1;
} else {
currentValue = 0;
}
} else {
currentValue--;
}
countIput.value = currentValue;
});
maxCount.addEventListener("click", () => {
let currentValue = parseInt(countIput.value);
currentValue++;
countIput.value = currentValue;
});
});
};
const count = () => {
const countContainers = document.querySelectorAll(".count-container");
if (!count) {
return;
}
countContainers.forEach((countContainer) => {
const countIput = countContainer.querySelector("input");
const minCount = countContainer.querySelector(".mincount");
const maxCount = countContainer.querySelector(".maxcount");
minCount.addEventListener("click", () => {
let currentValue = parseInt(countIput.value);
if (currentValue === 0 || currentValue < 0) {
if (currentValue === 0) {
currentValue = 1;
} else {
currentValue = 0;
}
} else {
currentValue--;
}
countIput.value = currentValue;
});
maxCount.addEventListener("click", () => {
let currentValue = parseInt(countIput.value);
currentValue++;
countIput.value = currentValue;
});
});
};