mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-25 15:53:01 +01:00
Merge pull request #372 from Frontesque/main
Fix warnings during compile
This commit is contained in:
5 files changed
+31
-4
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user