chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v3 (stable) (#2614)

* chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v3

* style: format code using prettier v3.0.0

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
This commit is contained in:
renovate[bot] 2023-07-06 21:39:05 +02:00 committed by GitHub
parent 74737cf3c4
commit 8c5512cd73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 374 additions and 374 deletions

View file

@ -37,7 +37,7 @@ var AIRTIME = (function (AIRTIME) {
}
AIRTIME.library.changeAddButtonText(
$(".btn-group #library-plus #lib-plus-text"),
btnText
btnText,
);
};
@ -73,7 +73,7 @@ var AIRTIME = (function (AIRTIME) {
mod.checkToolBarIcons();
$(
"#library_display tr.lib-audio, tr.lib-stream, tr.lib-pl, tr.lib-block"
"#library_display tr.lib-audio, tr.lib-stream, tr.lib-pl, tr.lib-block",
).draggable({
helper: function () {
var $el = $(this),
@ -178,8 +178,8 @@ var AIRTIME = (function (AIRTIME) {
} else if ($(".obj_type").val() == "playlist") {
alert(
$.i18n._(
"You can only add tracks, smart blocks, and webstreams to playlists."
)
"You can only add tracks, smart blocks, and webstreams to playlists.",
),
);
}
}

View file

@ -54,7 +54,7 @@ var AIRTIME = (function (AIRTIME) {
AIRTIME.library.changeAddButtonText(
$(".btn-group #library-plus #lib-plus-text"),
btnText
btnText,
);
};
@ -100,7 +100,7 @@ var AIRTIME = (function (AIRTIME) {
if (emptyRow.length > 0) {
emptyRow.hide();
var mediaType = parseInt(
$(".media_type_selector.selected").data("selection-id")
$(".media_type_selector.selected").data("selection-id"),
),
img = wrapper.find(".empty_placeholder_image");
if (!opts && isNaN(mediaType)) {
@ -127,7 +127,7 @@ var AIRTIME = (function (AIRTIME) {
opts.href +
"'>" +
$.i18n._("Learn about " + opts.media) +
"</a>"
"</a>",
);
}
@ -265,7 +265,7 @@ var AIRTIME = (function (AIRTIME) {
if (data === undefined) {
alert(
$.i18n._("Cannot schedule outside a show.\nTry creating a show first.")
$.i18n._("Cannot schedule outside a show.\nTry creating a show first."),
);
return false;
}
@ -281,7 +281,7 @@ var AIRTIME = (function (AIRTIME) {
{
scrollTop: el.offset().top,
},
0
0,
);
}
@ -420,7 +420,7 @@ var AIRTIME = (function (AIRTIME) {
function (json) {
AIRTIME.playlist.fileMdEdit(json, data.tr_id);
//buildEditMetadataDialog(json);
}
},
);
} else if (data.ftype === "playlist" || data.ftype === "block") {
AIRTIME.playlist.fnEdit(data, baseUrl + "playlist/edit");