Skip to content

Commit

Permalink
Fix all files
Browse files Browse the repository at this point in the history
  • Loading branch information
4yman-0 committed Jul 17, 2024
1 parent d942d8f commit ae968c7
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 90 deletions.
52 changes: 26 additions & 26 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,27 +28,27 @@
{
"all_frames": true,
"css": [
"js&css/extension/www.youtube.com/styles.css",
"js&css/extension/www.youtube.com/night-mode/night-mode.css",
"js&css/extension/www.youtube.com/general/general.css",
"js&css/extension/www.youtube.com/appearance/header/header.css",
"js&css/extension/www.youtube.com/appearance/player/player.css",
"js&css/extension/www.youtube.com/appearance/details/details.css",
"js&css/extension/www.youtube.com/appearance/sidebar/sidebar.css",
"js&css/extension/www.youtube.com/appearance/comments/comments.css"
"extension/yt.be/css/styles.css",
"extension/yt.be/css/night-mode.css",
"extension/yt.be/css/general.css",
"extension/yt.be/css/header.css",
"extension/yt.be/css/player.css",
"extension/yt.be/css/details.css",
"extension/yt.be/css/sidebar.css",
"extension/yt.be/css/comments.css"
],
"exclude_matches": [
"https://www.youtube.com/audiolibrary/*",
"https://www.youtube.com/tv*"
],
"js": [
"js&css/extension/core.js",
"js&css/extension/functions.js",
"js&css/extension/www.youtube.com/night-mode/night-mode.js",
"js&css/extension/www.youtube.com/general/general.js",
"js&css/extension/www.youtube.com/appearance/sidebar/sidebar.js",
"js&css/extension/www.youtube.com/appearance/comments/comments.js",
"js&css/extension/init.js"
"extension/js/core.js",
"extension/js/functions.js",
"extension/yt.be/js/night-mode.js",
"extension/yt.be/js/general.js",
"extension/yt.be/js/sidebar.js",
"extension/yt.be/js/comments.js",
"extension/js/init.js"
],
"matches": [
"https://www.youtube.com/*"
Expand All @@ -68,17 +68,17 @@
{
"resources": [
"menu/index.html",
"js&css/web-accessible/core.js",
"js&css/web-accessible/functions.js",
"js&css/web-accessible/www.youtube.com/appearance.js",
"js&css/web-accessible/www.youtube.com/player.js",
"js&css/web-accessible/www.youtube.com/themes.js",
"js&css/web-accessible/www.youtube.com/playlist.js",
"js&css/web-accessible/www.youtube.com/channel.js",
"js&css/web-accessible/www.youtube.com/shortcuts.js",
"js&css/web-accessible/www.youtube.com/blocklist.js",
"js&css/web-accessible/www.youtube.com/settings.js",
"js&css/web-accessible/init.js",
"web-accessible/js/core.js",
"web-accessible/yt.be/js/functions.js",
"web-accessible/yt.be/js/appearance.js",
"web-accessible/yt.be/js/player.js",
"web-accessible/yt.be/js/themes.js",
"web-accessible/yt.be/js/playlist.js",
"web-accessible/yt.be/js/channel.js",
"web-accessible/yt.be/js/shortcuts.js",
"web-accessible/yt.be/js/blocklist.js",
"web-accessible/yt.be/js/settings.js",
"web-accessible/js/init.js",
"menu/icons/48.png"
],
"matches": [
Expand Down
62 changes: 31 additions & 31 deletions menu/index.html
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
<!doctype html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width">
<title>ImprovedTube</title><style>body{width:320px;max-width:320px; margin:0; height:586px;max-height:586px;"}</style>
<script src="satus.js"></script>
<script src="skeleton.js"></script>
<script src="functions.js"></script>
<script src="skeleton-parts/search.js"></script>
<script src="skeleton-parts/active-features.js"></script>
<script src="skeleton-parts/settings.js"></script>
<script src="skeleton-parts/night-mode.js"></script>
<script src="skeleton-parts/mixer.js"></script>
<script src="skeleton-parts/general.js"></script>
<script src="skeleton-parts/player.js"></script>
<script src="skeleton-parts/appearance.js"></script>
<script src="skeleton-parts/shortcuts.js"></script>
<script src="skeleton-parts/channel.js"></script>
<script src="skeleton-parts/playlist.js"></script>
<script src="skeleton-parts/themes.js"></script>
<script src="skeleton-parts/blocklist.js"></script>
<script src="skeleton-parts/analyzer.js"></script>
<script src="skeleton-parts/dark-light-switch.js"></script>
<script defer src="index.js"></script>
<link rel="stylesheet" href="satus.css">
<link rel="stylesheet" href="styles/home.css">
<link rel="stylesheet" href="styles/appearance.css">
<link rel="stylesheet" href="styles/search.css">
<link rel="stylesheet" href="styles/header.css">
<link rel="stylesheet" href="styles/sub-options.css">
<link rel="stylesheet" href="styles/analyzer.css">
<link rel="stylesheet" href="styles/blocklist.css">
<link rel="stylesheet" href="styles/fonts.css">
<link rel="stylesheet" href="styles/mixer.css">
<link rel="stylesheet" href="styles/settings.css">
<link rel="stylesheet" href="styles/themes.css">
<script src="js/satus.js"></script>
<script src="js/skeleton.js"></script>
<script src="js/functions.js"></script>
<script src="js/skeleton-parts/search.js"></script>
<script src="js/skeleton-parts/active-features.js"></script>
<script src="js/skeleton-parts/settings.js"></script>
<script src="js/skeleton-parts/night-mode.js"></script>
<script src="js/skeleton-parts/mixer.js"></script>
<script src="js/skeleton-parts/general.js"></script>
<script src="js/skeleton-parts/player.js"></script>
<script src="js/skeleton-parts/appearance.js"></script>
<script src="js/skeleton-parts/shortcuts.js"></script>
<script src="js/skeleton-parts/channel.js"></script>
<script src="js/skeleton-parts/playlist.js"></script>
<script src="js/skeleton-parts/themes.js"></script>
<script src="js/skeleton-parts/blocklist.js"></script>
<script src="js/skeleton-parts/analyzer.js"></script>
<script src="js/skeleton-parts/dark-light-switch.js"></script>
<script defer src="js/index.js"></script>
<link rel="stylesheet" href="css/satus.css">
<link rel="stylesheet" href="css/home.css">
<link rel="stylesheet" href="css/appearance.css">
<link rel="stylesheet" href="css/search.css">
<link rel="stylesheet" href="css/header.css">
<link rel="stylesheet" href="css/sub-options.css">
<link rel="stylesheet" href="css/analyzer.css">
<link rel="stylesheet" href="css/blocklist.css">
<link rel="stylesheet" href="css/fonts.css">
<link rel="stylesheet" href="css/mixer.css">
<link rel="stylesheet" href="css/settings.css">
<link rel="stylesheet" href="css/themes.css">
</head><body><div id="loading" style="animation: 3s linear 0s 1 normal none running fadeIn; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 3px solid rgb(182, 233, 255); border-radius: 80px; padding: 37px; color: rgb(120, 147, 161);">...asking your browser what settings you made here before...</div>
</body></html>
62 changes: 31 additions & 31 deletions menu/sidepanel.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,36 @@
<title>ImprovedTube</title><style> .satus-text-field--search { max-width:255px !important; margin-right: 36px !important; }
body{background-color:#3d3d3d; width:327px;max-width:327px; margin: -1px; height:99.9vh;max-height:99.9vh}
</style>
<script src="satus.js"></script>
<script src="skeleton.js"></script>
<script src="functions.js"></script>
<script src="skeleton-parts/search.js"></script>
<script src="skeleton-parts/active-features.js"></script>
<script src="skeleton-parts/settings.js"></script>
<script src="skeleton-parts/night-mode.js"></script>
<script src="skeleton-parts/mixer.js"></script>
<script src="skeleton-parts/general.js"></script>
<script src="skeleton-parts/player.js"></script>
<script src="skeleton-parts/appearance.js"></script>
<script src="skeleton-parts/shortcuts.js"></script>
<script src="skeleton-parts/channel.js"></script>
<script src="skeleton-parts/playlist.js"></script>
<script src="skeleton-parts/themes.js"></script>
<script src="skeleton-parts/blocklist.js"></script>
<script src="skeleton-parts/analyzer.js"></script>
<script src="skeleton-parts/dark-light-switch.js"></script>
<script defer src="index.js"></script>
<link rel="stylesheet" href="satus.css">
<link rel="stylesheet" href="styles/home.css">
<link rel="stylesheet" href="styles/appearance.css">
<link rel="stylesheet" href="styles/search.css">
<link rel="stylesheet" href="styles/header.css">
<link rel="stylesheet" href="styles/sub-options.css">
<link rel="stylesheet" href="styles/analyzer.css">
<link rel="stylesheet" href="styles/blocklist.css">
<link rel="stylesheet" href="styles/fonts.css">
<link rel="stylesheet" href="styles/mixer.css">
<link rel="stylesheet" href="styles/settings.css">
<link rel="stylesheet" href="styles/themes.css">
<script src="js/satus.js"></script>
<script src="js/skeleton.js"></script>
<script src="js/functions.js"></script>
<script src="js/skeleton-parts/search.js"></script>
<script src="js/skeleton-parts/active-features.js"></script>
<script src="js/skeleton-parts/settings.js"></script>
<script src="js/skeleton-parts/night-mode.js"></script>
<script src="js/skeleton-parts/mixer.js"></script>
<script src="js/skeleton-parts/general.js"></script>
<script src="js/skeleton-parts/player.js"></script>
<script src="js/skeleton-parts/appearance.js"></script>
<script src="js/skeleton-parts/shortcuts.js"></script>
<script src="js/skeleton-parts/channel.js"></script>
<script src="js/skeleton-parts/playlist.js"></script>
<script src="js/skeleton-parts/themes.js"></script>
<script src="js/skeleton-parts/blocklist.js"></script>
<script src="js/skeleton-parts/analyzer.js"></script>
<script src="js/skeleton-parts/dark-light-switch.js"></script>
<script defer src="js/index.js"></script>
<link rel="stylesheet" href="css/satus.css">
<link rel="stylesheet" href="css/home.css">
<link rel="stylesheet" href="css/appearance.css">
<link rel="stylesheet" href="css/search.css">
<link rel="stylesheet" href="css/header.css">
<link rel="stylesheet" href="css/sub-options.css">
<link rel="stylesheet" href="css/analyzer.css">
<link rel="stylesheet" href="css/blocklist.css">
<link rel="stylesheet" href="css/fonts.css">
<link rel="stylesheet" href="css/mixer.css">
<link rel="stylesheet" href="css/settings.css">
<link rel="stylesheet" href="css/themes.css">
</head><body><div id="loading" style="animation: 3s linear 0s 1 normal none running fadeIn; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 3px solid rgb(182, 233, 255); border-radius: 80px; padding: 37px; color: rgb(120, 147, 161);">...asking your browser what settings you made here before...</div>
</body></html>
4 changes: 2 additions & 2 deletions tests/unit/core.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Mock extension object directly within the jest.mock call
jest.mock('../../js&css/extension/core', () => ({
jest.mock('../../extension/js/core', () => ({
domReady: false,
events: {
listeners: {},
Expand Down Expand Up @@ -61,7 +61,7 @@ jest.mock('../../js&css/extension/core', () => ({
}));

// Mock extension object
const extensionMock = require('../../js&css/extension/core');
const extensionMock = require('../../extension/js/core');

// Unit tests for the camelize function
test('Convert snake_case to camelCase', () => {
Expand Down

0 comments on commit ae968c7

Please sign in to comment.