Additional logging / change logging
This commit is contained in:
parent
38ef7905c7
commit
145b237701
@ -3,7 +3,7 @@ import PlayerData from './video-data/PlayerData';
|
||||
import ExtensionMode from '../../common/enums/extension-mode.enum';
|
||||
|
||||
if(process.env.CHANNEL !== 'stable'){
|
||||
console.log("Loading ActionHandler");
|
||||
console.info("Loading ActionHandler");
|
||||
}
|
||||
|
||||
class ActionHandler {
|
||||
@ -332,7 +332,7 @@ class ActionHandler {
|
||||
}
|
||||
|
||||
if(process.env.CHANNEL !== 'stable'){
|
||||
console.log("ActionHandler loaded");
|
||||
console.info("ActionHandler loaded");
|
||||
}
|
||||
|
||||
export default ActionHandler;
|
||||
|
@ -9,7 +9,7 @@ import ExtensionConfPatch from '../conf/ExtConfPatches';
|
||||
import CropModePersistence from '../../common/enums/crop-mode-persistence.enum';
|
||||
|
||||
if(process.env.CHANNEL !== 'stable'){
|
||||
console.log("Loading Settings");
|
||||
console.info("Loading Settings");
|
||||
}
|
||||
|
||||
class Settings {
|
||||
@ -589,3 +589,7 @@ class Settings {
|
||||
}
|
||||
|
||||
export default Settings;
|
||||
|
||||
if(process.env.CHANNEL !== 'stable'){
|
||||
console.info("Settings loaded");
|
||||
}
|
||||
|
@ -2,8 +2,9 @@ import Debug from '../../conf/Debug';
|
||||
import ExtensionMode from '../../../common/enums/extension-mode.enum'
|
||||
import AspectRatio from '../../../common/enums/aspect-ratio.enum';
|
||||
|
||||
if(Debug.debug)
|
||||
console.log("Loading: PlayerData.js");
|
||||
if (process.env.CHANNEL !== 'stable'){
|
||||
console.info("Loading: PlayerData.js");
|
||||
}
|
||||
|
||||
/* sprejme <video> tag (element) in seznam imen, ki se lahko pojavijo v razredih oz. id staršev.
|
||||
// vrne dimenzije predvajalnika (širina, višina)
|
||||
@ -465,4 +466,8 @@ class PlayerData {
|
||||
}
|
||||
}
|
||||
|
||||
if (process.env.CHANNEL !== 'stable'){
|
||||
console.info("PlayerData loaded");
|
||||
}
|
||||
|
||||
export default PlayerData;
|
||||
|
@ -9,17 +9,17 @@ import PageInfo from './lib/video-data/PageInfo';
|
||||
import Logger from './lib/Logger';
|
||||
|
||||
|
||||
if(Debug.debug){
|
||||
console.log("\n\n\n\n\n\n ——— Sᴛλʀᴛɪɴɢ Uʟᴛʀᴀᴡɪᴅɪꜰʏ ———\n << ʟᴏᴀᴅɪɴɢ ᴍᴀɪɴ ꜰɪʟᴇ >>\n\n\n\n");
|
||||
if(process.env.CHANNEL !== 'stable'){
|
||||
console.warm("\n\n\n\n\n\n ——— Sᴛλʀᴛɪɴɢ Uʟᴛʀᴀᴡɪᴅɪꜰʏ ———\n << ʟᴏᴀᴅɪɴɢ ᴍᴀɪɴ ꜰɪʟᴇ >>\n\n\n\n");
|
||||
try {
|
||||
if(window.self !== window.top){
|
||||
console.log("%cWe aren't in an iframe.", "color: #afc, background: #174");
|
||||
console.info("%cWe aren't in an iframe.", "color: #afc, background: #174");
|
||||
}
|
||||
else{
|
||||
console.log("%cWe are in an iframe!", "color: #fea, background: #d31", window.self, window.top);
|
||||
console.info("%cWe are in an iframe!", "color: #fea, background: #d31", window.self, window.top);
|
||||
}
|
||||
} catch (e) {
|
||||
console.log("%cWe are in an iframe!", "color: #fea, background: #d31");
|
||||
console.info("%cWe are in an iframe!", "color: #fea, background: #d31");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user