|
@@ -1,9 +1,12 @@
|
|
|
+//--- Import Button Functions ---//
|
|
|
import {
|
|
|
getButtons,
|
|
|
getLikeButton,
|
|
|
getDislikeButton,
|
|
|
checkForSignInButton,
|
|
|
} from "./src/buttons";
|
|
|
+
|
|
|
+//--- Import State Functions ---//
|
|
|
import {
|
|
|
isMobile,
|
|
|
isVideoDisliked,
|
|
@@ -19,10 +22,13 @@ import {
|
|
|
NEUTRAL_STATE,
|
|
|
initExtConfig,
|
|
|
} from "./src/state";
|
|
|
+
|
|
|
+//--- Import Video & Browser Functions ---//
|
|
|
import { numberFormat, getBrowser, getVideoId, isVideoLoaded, cLog } from "./src/utils";
|
|
|
import { createRateBar } from "./src/bar";
|
|
|
import { sendVideoIds, sendVote, likeClicked, dislikeClicked, addLikeDislikeEventListener, storageChangeHandler } from "./src/events"
|
|
|
|
|
|
+
|
|
|
initExtConfig()
|
|
|
|
|
|
let jsInitChecktimer = null;
|