Merge pull request #372 from Frontesque/main

Fix warnings during compile
This commit is contained in:
Dmitrii Selivanov authored and GitHub committed 2021-12-27 13:32:04 +03:00
commit 78527ad47a
5 files changed
+31 -4

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
# Extension Source
## Guide to Compiling
## Compiling to Development (Testing)
<ol>
<li>Go to the root directory of the project</li>
<li>Run <code>npm i</code> to install all project dependancies (if not done so already)</li>
<li>run <code>npm run dev</code> to compile the extension to the <code>~/Extensions/combined/dist/</code> folder.</li>
</ol>
## Compiling to Production (Final Release)
<ol>
<li>Go to the root directory of the project</li>
<li>Run <code>npm i</code> to install all project dependancies (if not done so already)</li>
<li>run <code>npm run build</code> to compile the extension to the <code>~/Extensions/combined/dist/</code> folder.</li>
</ol>
@@ -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;