Skip to content

Commit

Permalink
remove unused JavaScript (also see: creativecommons/vocabulary#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimidRobot committed Sep 16, 2024
1 parent 0007f39 commit 6cfad60
Show file tree
Hide file tree
Showing 951 changed files with 0 additions and 36,138 deletions.
38 changes: 0 additions & 38 deletions docs/licenses/by-nc-nd/2.0/at/legalcode.de.html
Original file line number Diff line number Diff line change
Expand Up @@ -647,43 +647,5 @@ <h2>
</footer>
<script src="/wp-content/themes/vocabulary-theme/vocabulary/js/vocabulary.js">
</script>
<script>
/*
Show/Hide Functionality for expand/collapse sections in use_of_licenses.html
*/
let arrowArray = Array.from(document.getElementsByClassName("angle-down"))
arrowArray.forEach(function(arrow) {
arrow.addEventListener("click", handleArrowClicked);
});

function handleArrowClicked() {
// Toggle consideration section's screen reader announcement text (inside of icon)
if (this.dataset.consideration === "1" && this.dataset.direction === "down") {
this.firstChild.innerHTML = "Hide Considerations for Licensors"
} else if (this.dataset.consideration !== "1" && this.dataset.direction === "down") {
this.firstChild.innerHTML = "Hide Considerations for the Public"
} else if (this.dataset.consideration === "1" && this.dataset.direction === "up") {
this.firstChild.innerHTML = "Show Considerations for Licensors"
} else {
this.firstChild.innerHTML = "Show Considerations for the Public"
}
// Toggle icon between up and down
if (this.dataset.direction === "down") {
// toggle icon to up arrow icon
this.classList.remove("angle-down")
this.classList.add("angle-up")
this.dataset.direction = "up"
// show <p> tag
this.parentNode.parentNode.nextSibling.nextSibling.classList.remove("is-hidden");
} else {
// toggle icon to up arrow icon
this.classList.add("angle-down")
this.classList.remove("angle-up")
this.dataset.direction = "down"
// hide <p> tag
this.parentNode.parentNode.nextSibling.nextSibling.classList.add("is-hidden");
}
};
</script>
</body>
</html>
38 changes: 0 additions & 38 deletions docs/licenses/by-nc-nd/2.0/au/legalcode.en.html
Original file line number Diff line number Diff line change
Expand Up @@ -669,43 +669,5 @@ <h2>
</footer>
<script src="/wp-content/themes/vocabulary-theme/vocabulary/js/vocabulary.js">
</script>
<script>
/*
Show/Hide Functionality for expand/collapse sections in use_of_licenses.html
*/
let arrowArray = Array.from(document.getElementsByClassName("angle-down"))
arrowArray.forEach(function(arrow) {
arrow.addEventListener("click", handleArrowClicked);
});

function handleArrowClicked() {
// Toggle consideration section's screen reader announcement text (inside of icon)
if (this.dataset.consideration === "1" && this.dataset.direction === "down") {
this.firstChild.innerHTML = "Hide Considerations for Licensors"
} else if (this.dataset.consideration !== "1" && this.dataset.direction === "down") {
this.firstChild.innerHTML = "Hide Considerations for the Public"
} else if (this.dataset.consideration === "1" && this.dataset.direction === "up") {
this.firstChild.innerHTML = "Show Considerations for Licensors"
} else {
this.firstChild.innerHTML = "Show Considerations for the Public"
}
// Toggle icon between up and down
if (this.dataset.direction === "down") {
// toggle icon to up arrow icon
this.classList.remove("angle-down")
this.classList.add("angle-up")
this.dataset.direction = "up"
// show <p> tag
this.parentNode.parentNode.nextSibling.nextSibling.classList.remove("is-hidden");
} else {
// toggle icon to up arrow icon
this.classList.add("angle-down")
this.classList.remove("angle-up")
this.dataset.direction = "down"
// hide <p> tag
this.parentNode.parentNode.nextSibling.nextSibling.classList.add("is-hidden");
}
};
</script>
</body>
</html>
38 changes: 0 additions & 38 deletions docs/licenses/by-nc-nd/2.0/be/legalcode.fr.html
Original file line number Diff line number Diff line change
Expand Up @@ -809,43 +809,5 @@ <h2>
</footer>
<script src="/wp-content/themes/vocabulary-theme/vocabulary/js/vocabulary.js">
</script>
<script>
/*
Show/Hide Functionality for expand/collapse sections in use_of_licenses.html
*/
let arrowArray = Array.from(document.getElementsByClassName("angle-down"))
arrowArray.forEach(function(arrow) {
arrow.addEventListener("click", handleArrowClicked);
});

function handleArrowClicked() {
// Toggle consideration section's screen reader announcement text (inside of icon)
if (this.dataset.consideration === "1" && this.dataset.direction === "down") {
this.firstChild.innerHTML = "Hide Considerations for Licensors"
} else if (this.dataset.consideration !== "1" && this.dataset.direction === "down") {
this.firstChild.innerHTML = "Hide Considerations for the Public"
} else if (this.dataset.consideration === "1" && this.dataset.direction === "up") {
this.firstChild.innerHTML = "Show Considerations for Licensors"
} else {
this.firstChild.innerHTML = "Show Considerations for the Public"
}
// Toggle icon between up and down
if (this.dataset.direction === "down") {
// toggle icon to up arrow icon
this.classList.remove("angle-down")
this.classList.add("angle-up")
this.dataset.direction = "up"
// show <p> tag
this.parentNode.parentNode.nextSibling.nextSibling.classList.remove("is-hidden");
} else {
// toggle icon to up arrow icon
this.classList.add("angle-down")
this.classList.remove("angle-up")
this.dataset.direction = "down"
// hide <p> tag
this.parentNode.parentNode.nextSibling.nextSibling.classList.add("is-hidden");
}
};
</script>
</body>
</html>
38 changes: 0 additions & 38 deletions docs/licenses/by-nc-nd/2.0/be/legalcode.nl.html
Original file line number Diff line number Diff line change
Expand Up @@ -804,43 +804,5 @@ <h2>
</footer>
<script src="/wp-content/themes/vocabulary-theme/vocabulary/js/vocabulary.js">
</script>
<script>
/*
Show/Hide Functionality for expand/collapse sections in use_of_licenses.html
*/
let arrowArray = Array.from(document.getElementsByClassName("angle-down"))
arrowArray.forEach(function(arrow) {
arrow.addEventListener("click", handleArrowClicked);
});

function handleArrowClicked() {
// Toggle consideration section's screen reader announcement text (inside of icon)
if (this.dataset.consideration === "1" && this.dataset.direction === "down") {
this.firstChild.innerHTML = "Overwegingen voor licentiegevers verbergen"
} else if (this.dataset.consideration !== "1" && this.dataset.direction === "down") {
this.firstChild.innerHTML = "Overwegingen voor het publiek verbergen"
} else if (this.dataset.consideration === "1" && this.dataset.direction === "up") {
this.firstChild.innerHTML = "Overwegingen voor licentiegevers tonen"
} else {
this.firstChild.innerHTML = "Overwegingen voor het publiek tonen"
}
// Toggle icon between up and down
if (this.dataset.direction === "down") {
// toggle icon to up arrow icon
this.classList.remove("angle-down")
this.classList.add("angle-up")
this.dataset.direction = "up"
// show <p> tag
this.parentNode.parentNode.nextSibling.nextSibling.classList.remove("is-hidden");
} else {
// toggle icon to up arrow icon
this.classList.add("angle-down")
this.classList.remove("angle-up")
this.dataset.direction = "down"
// hide <p> tag
this.parentNode.parentNode.nextSibling.nextSibling.classList.add("is-hidden");
}
};
</script>
</body>
</html>
38 changes: 0 additions & 38 deletions docs/licenses/by-nc-nd/2.0/br/legalcode.pt-br.html
Original file line number Diff line number Diff line change
Expand Up @@ -621,43 +621,5 @@ <h2>
</footer>
<script src="/wp-content/themes/vocabulary-theme/vocabulary/js/vocabulary.js">
</script>
<script>
/*
Show/Hide Functionality for expand/collapse sections in use_of_licenses.html
*/
let arrowArray = Array.from(document.getElementsByClassName("angle-down"))
arrowArray.forEach(function(arrow) {
arrow.addEventListener("click", handleArrowClicked);
});

function handleArrowClicked() {
// Toggle consideration section's screen reader announcement text (inside of icon)
if (this.dataset.consideration === "1" && this.dataset.direction === "down") {
this.firstChild.innerHTML = "Hide Considerations for Licensors"
} else if (this.dataset.consideration !== "1" && this.dataset.direction === "down") {
this.firstChild.innerHTML = "Hide Considerations for the Public"
} else if (this.dataset.consideration === "1" && this.dataset.direction === "up") {
this.firstChild.innerHTML = "Show Considerations for Licensors"
} else {
this.firstChild.innerHTML = "Show Considerations for the Public"
}
// Toggle icon between up and down
if (this.dataset.direction === "down") {
// toggle icon to up arrow icon
this.classList.remove("angle-down")
this.classList.add("angle-up")
this.dataset.direction = "up"
// show <p> tag
this.parentNode.parentNode.nextSibling.nextSibling.classList.remove("is-hidden");
} else {
// toggle icon to up arrow icon
this.classList.add("angle-down")
this.classList.remove("angle-up")
this.dataset.direction = "down"
// hide <p> tag
this.parentNode.parentNode.nextSibling.nextSibling.classList.add("is-hidden");
}
};
</script>
</body>
</html>
38 changes: 0 additions & 38 deletions docs/licenses/by-nc-nd/2.0/ca/legalcode.en.html
Original file line number Diff line number Diff line change
Expand Up @@ -732,43 +732,5 @@ <h2>
</footer>
<script src="/wp-content/themes/vocabulary-theme/vocabulary/js/vocabulary.js">
</script>
<script>
/*
Show/Hide Functionality for expand/collapse sections in use_of_licenses.html
*/
let arrowArray = Array.from(document.getElementsByClassName("angle-down"))
arrowArray.forEach(function(arrow) {
arrow.addEventListener("click", handleArrowClicked);
});

function handleArrowClicked() {
// Toggle consideration section's screen reader announcement text (inside of icon)
if (this.dataset.consideration === "1" && this.dataset.direction === "down") {
this.firstChild.innerHTML = "Hide Considerations for Licensors"
} else if (this.dataset.consideration !== "1" && this.dataset.direction === "down") {
this.firstChild.innerHTML = "Hide Considerations for the Public"
} else if (this.dataset.consideration === "1" && this.dataset.direction === "up") {
this.firstChild.innerHTML = "Show Considerations for Licensors"
} else {
this.firstChild.innerHTML = "Show Considerations for the Public"
}
// Toggle icon between up and down
if (this.dataset.direction === "down") {
// toggle icon to up arrow icon
this.classList.remove("angle-down")
this.classList.add("angle-up")
this.dataset.direction = "up"
// show <p> tag
this.parentNode.parentNode.nextSibling.nextSibling.classList.remove("is-hidden");
} else {
// toggle icon to up arrow icon
this.classList.add("angle-down")
this.classList.remove("angle-up")
this.dataset.direction = "down"
// hide <p> tag
this.parentNode.parentNode.nextSibling.nextSibling.classList.add("is-hidden");
}
};
</script>
</body>
</html>
38 changes: 0 additions & 38 deletions docs/licenses/by-nc-nd/2.0/ca/legalcode.fr.html
Original file line number Diff line number Diff line change
Expand Up @@ -722,43 +722,5 @@ <h2>
</footer>
<script src="/wp-content/themes/vocabulary-theme/vocabulary/js/vocabulary.js">
</script>
<script>
/*
Show/Hide Functionality for expand/collapse sections in use_of_licenses.html
*/
let arrowArray = Array.from(document.getElementsByClassName("angle-down"))
arrowArray.forEach(function(arrow) {
arrow.addEventListener("click", handleArrowClicked);
});

function handleArrowClicked() {
// Toggle consideration section's screen reader announcement text (inside of icon)
if (this.dataset.consideration === "1" && this.dataset.direction === "down") {
this.firstChild.innerHTML = "Hide Considerations for Licensors"
} else if (this.dataset.consideration !== "1" && this.dataset.direction === "down") {
this.firstChild.innerHTML = "Hide Considerations for the Public"
} else if (this.dataset.consideration === "1" && this.dataset.direction === "up") {
this.firstChild.innerHTML = "Show Considerations for Licensors"
} else {
this.firstChild.innerHTML = "Show Considerations for the Public"
}
// Toggle icon between up and down
if (this.dataset.direction === "down") {
// toggle icon to up arrow icon
this.classList.remove("angle-down")
this.classList.add("angle-up")
this.dataset.direction = "up"
// show <p> tag
this.parentNode.parentNode.nextSibling.nextSibling.classList.remove("is-hidden");
} else {
// toggle icon to up arrow icon
this.classList.add("angle-down")
this.classList.remove("angle-up")
this.dataset.direction = "down"
// hide <p> tag
this.parentNode.parentNode.nextSibling.nextSibling.classList.add("is-hidden");
}
};
</script>
</body>
</html>
38 changes: 0 additions & 38 deletions docs/licenses/by-nc-nd/2.0/cl/legalcode.es.html
Original file line number Diff line number Diff line change
Expand Up @@ -813,43 +813,5 @@ <h2>
</footer>
<script src="/wp-content/themes/vocabulary-theme/vocabulary/js/vocabulary.js">
</script>
<script>
/*
Show/Hide Functionality for expand/collapse sections in use_of_licenses.html
*/
let arrowArray = Array.from(document.getElementsByClassName("angle-down"))
arrowArray.forEach(function(arrow) {
arrow.addEventListener("click", handleArrowClicked);
});

function handleArrowClicked() {
// Toggle consideration section's screen reader announcement text (inside of icon)
if (this.dataset.consideration === "1" && this.dataset.direction === "down") {
this.firstChild.innerHTML = "Hide Considerations for Licensors"
} else if (this.dataset.consideration !== "1" && this.dataset.direction === "down") {
this.firstChild.innerHTML = "Hide Considerations for the Public"
} else if (this.dataset.consideration === "1" && this.dataset.direction === "up") {
this.firstChild.innerHTML = "Show Considerations for Licensors"
} else {
this.firstChild.innerHTML = "Show Considerations for the Public"
}
// Toggle icon between up and down
if (this.dataset.direction === "down") {
// toggle icon to up arrow icon
this.classList.remove("angle-down")
this.classList.add("angle-up")
this.dataset.direction = "up"
// show <p> tag
this.parentNode.parentNode.nextSibling.nextSibling.classList.remove("is-hidden");
} else {
// toggle icon to up arrow icon
this.classList.add("angle-down")
this.classList.remove("angle-up")
this.dataset.direction = "down"
// hide <p> tag
this.parentNode.parentNode.nextSibling.nextSibling.classList.add("is-hidden");
}
};
</script>
</body>
</html>
38 changes: 0 additions & 38 deletions docs/licenses/by-nc-nd/2.0/de/legalcode.de.html
Original file line number Diff line number Diff line change
Expand Up @@ -651,43 +651,5 @@ <h2>
</footer>
<script src="/wp-content/themes/vocabulary-theme/vocabulary/js/vocabulary.js">
</script>
<script>
/*
Show/Hide Functionality for expand/collapse sections in use_of_licenses.html
*/
let arrowArray = Array.from(document.getElementsByClassName("angle-down"))
arrowArray.forEach(function(arrow) {
arrow.addEventListener("click", handleArrowClicked);
});

function handleArrowClicked() {
// Toggle consideration section's screen reader announcement text (inside of icon)
if (this.dataset.consideration === "1" && this.dataset.direction === "down") {
this.firstChild.innerHTML = "Hide Considerations for Licensors"
} else if (this.dataset.consideration !== "1" && this.dataset.direction === "down") {
this.firstChild.innerHTML = "Hide Considerations for the Public"
} else if (this.dataset.consideration === "1" && this.dataset.direction === "up") {
this.firstChild.innerHTML = "Show Considerations for Licensors"
} else {
this.firstChild.innerHTML = "Show Considerations for the Public"
}
// Toggle icon between up and down
if (this.dataset.direction === "down") {
// toggle icon to up arrow icon
this.classList.remove("angle-down")
this.classList.add("angle-up")
this.dataset.direction = "up"
// show <p> tag
this.parentNode.parentNode.nextSibling.nextSibling.classList.remove("is-hidden");
} else {
// toggle icon to up arrow icon
this.classList.add("angle-down")
this.classList.remove("angle-up")
this.dataset.direction = "down"
// hide <p> tag
this.parentNode.parentNode.nextSibling.nextSibling.classList.add("is-hidden");
}
};
</script>
</body>
</html>
Loading

0 comments on commit 6cfad60

Please sign in to comment.