aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.ts
diff options
context:
space:
mode:
authorTeddy Wing2020-05-05 23:03:38 +0200
committerTeddy Wing2020-05-05 23:06:13 +0200
commit0c56f4361c836f15d22daf7ce70570f9f95afdae (patch)
tree34f89b1ad4cc9a23ece4abd5ef976381f3567cb6 /src/index.ts
parente1383d531a4c3eb4d83e500aad09f92967abd395 (diff)
downloadnetflix-immersive-0c56f4361c836f15d22daf7ce70570f9f95afdae.tar.bz2
Move fullscreen credits init function to fullscreen_credits.ts
Makes more sense to put it in the fullscreen_credits module.
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/index.ts b/src/index.ts
index 1ea3d28..504a7d7 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -1,9 +1,6 @@
-import { init_mutation_observer, with_player } from './fullscreen_credits';
+import fullscreen_credits from './fullscreen_credits';
import { styles } from './styles';
-with_player(function(player) {
- init_mutation_observer(player);
-});
-
+fullscreen_credits();
styles();