Skip to content

Commit b6cf90d

Browse files
committed
clean
1 parent be7ce04 commit b6cf90d

File tree

6 files changed

+7
-104
lines changed

6 files changed

+7
-104
lines changed

src/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import './js/querySearchScript';
2-
import './js/add-to-watched';
32
import './js/trending';
43
import './js/btnUp';
54
import './js/footerModal';
65
import './js/ourTeam';
76
import './js/pagination';
87
import './js/trailer';
9-
import './js/movie-modal';
8+
import './js/movie-modal';

src/js/add-to-watched.js

Lines changed: 0 additions & 97 deletions
This file was deleted.

src/js/library-modal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async function handleTrandingMoviesClick(event) {
4949
pickedMovieId
5050
); // 💙💛 Koshyk Kostiantyn
5151

52-
// // 💙💛 Koshyk Kostiantyn (для использования в add-to-watched.js)
52+
// 💙💛 Koshyk Kostiantyn (для использования в add-to-watched.js)
5353
dataModalFilm = fetchPictures(pickedMovieId);
5454

5555
if (

src/js/movie-modal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ async function handleTrandingMoviesClick(event) {
4848
pickedMovieId
4949
); // 💙💛 Koshyk Kostiantyn
5050

51-
// // 💙💛 Koshyk Kostiantyn (для использования в add-to-watched.js)
51+
// 💙💛 Koshyk Kostiantyn (для использования в add-to-watched.js)
5252
dataModalFilm = fetchPictures(pickedMovieId);
5353

5454
if (

src/js/watched-queue-btns/fun-watched-queue.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// 💙💛 Koshyk Kostiantyn
2+
13
// функция добавляяет в Local Storage
24
function saveToLocalStorage(key, value) {
35
try {
@@ -34,7 +36,7 @@ function removeLocalStorage(key) {
3436
}
3537
}
3638

37-
// 💙💛 Koshyk Kostiantyn функция изменяет название кнопки
39+
// функция изменяет название кнопки
3840
function renameBtn(btn, key, nameA, nameB, id) {
3941
if (!loadFromLocalStorage(key).find(el => el.id === Number(id))) {
4042
btn.textContent = nameA;

src/library.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
21
import './js/queue-list';
32
import './js/library-modal';
43
import './js/whatched-list';
5-
import './js/footerModal';
4+
import './js/footerModal';

0 commit comments

Comments
 (0)