Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates JavaScript for linting #25

Merged
merged 2 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
js/i18n
js/datepicker.js
js/scrollTo.js
tests
1,815 changes: 0 additions & 1,815 deletions js/datepicker.js

This file was deleted.

30 changes: 13 additions & 17 deletions js/hidecss.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
/* show/hide on checkbox click */
function showMe (box) {

var chboxs = document.getElementsByName("mc_nuke_all_styles");
var vis = "none";
for(var i=0;i<chboxs.length;i++) {
if(chboxs[i].checked){
vis = "none";
}
else{
var vis = "";
vis = "";
}
}
document.getElementById(box).style.display = vis;


}
// eslint-disable-next-line no-unused-vars -- used on window on click
function showMe(box) {
const chboxs = document.getElementsByName('mc_nuke_all_styles');
let vis = 'none';
for (let i = 0; i < chboxs.length; i++) {
if (chboxs[i].checked) {
vis = 'none';
} else {
vis = '';
}
}
document.getElementById(box).style.display = vis;
}
1,379 changes: 0 additions & 1,379 deletions js/i18n/jquery-ui-i18n.js

This file was deleted.

23 changes: 0 additions & 23 deletions js/i18n/jquery.ui.datepicker-af.js

This file was deleted.

23 changes: 0 additions & 23 deletions js/i18n/jquery.ui.datepicker-ar-DZ.js

This file was deleted.

23 changes: 0 additions & 23 deletions js/i18n/jquery.ui.datepicker-ar.js

This file was deleted.

23 changes: 0 additions & 23 deletions js/i18n/jquery.ui.datepicker-az.js

This file was deleted.

24 changes: 0 additions & 24 deletions js/i18n/jquery.ui.datepicker-bg.js

This file was deleted.

23 changes: 0 additions & 23 deletions js/i18n/jquery.ui.datepicker-bs.js

This file was deleted.

23 changes: 0 additions & 23 deletions js/i18n/jquery.ui.datepicker-ca.js

This file was deleted.

23 changes: 0 additions & 23 deletions js/i18n/jquery.ui.datepicker-cs.js

This file was deleted.

23 changes: 0 additions & 23 deletions js/i18n/jquery.ui.datepicker-da.js

This file was deleted.

23 changes: 0 additions & 23 deletions js/i18n/jquery.ui.datepicker-de.js

This file was deleted.

23 changes: 0 additions & 23 deletions js/i18n/jquery.ui.datepicker-el.js

This file was deleted.

23 changes: 0 additions & 23 deletions js/i18n/jquery.ui.datepicker-en-AU.js

This file was deleted.

23 changes: 0 additions & 23 deletions js/i18n/jquery.ui.datepicker-en-GB.js

This file was deleted.

23 changes: 0 additions & 23 deletions js/i18n/jquery.ui.datepicker-en-NZ.js

This file was deleted.

Loading
Loading