mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
remove not needed eslint hints
This commit is contained in:
parent
f2d8c517cf
commit
017cf4fb3d
6 changed files with 0 additions and 11 deletions
|
|
@ -23,7 +23,6 @@ const Video = React.forwardRef(({ className, ...props }, ref) => {
|
|||
try {
|
||||
videoRef.current.dispatch(action);
|
||||
} catch (error) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.error('StremioVideo', error);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ const ChromecastTransport = require('./ChromecastTransport');
|
|||
let castAPIAvailable = null;
|
||||
const castAPIEvents = new EventEmitter();
|
||||
castAPIEvents.on('error', (error) => {
|
||||
/* eslint-disable-next-line no-console */
|
||||
console.error(error);
|
||||
});
|
||||
window['__onGCastApiAvailable'] = function(available) {
|
||||
|
|
@ -23,7 +22,6 @@ function Chromecast() {
|
|||
|
||||
const events = new EventEmitter();
|
||||
events.on('error', (error) => {
|
||||
/* eslint-disable-next-line no-console */
|
||||
console.error(error);
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ const MESSAGE_NAMESPACE = 'urn:x-cast:com.stremio';
|
|||
function ChromecastTransport() {
|
||||
const events = new EventEmitter();
|
||||
events.on('error', (error) => {
|
||||
/* eslint-disable-next-line no-console */
|
||||
console.error(error);
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -8,21 +8,18 @@ let transport = null;
|
|||
let apiInitialized = null;
|
||||
const apiEvents = new EventEmitter();
|
||||
apiEvents.on('error', (error) => {
|
||||
/* eslint-disable-next-line no-console */
|
||||
console.error(error);
|
||||
});
|
||||
initialize_api()
|
||||
.then(() => {
|
||||
const transportEvents = new EventEmitter();
|
||||
transportEvents.on('error', (error) => {
|
||||
/* eslint-disable-next-line no-console */
|
||||
console.error(error);
|
||||
});
|
||||
return initialize_runtime(({ name, args }) => {
|
||||
try {
|
||||
transportEvents.emit(name, args);
|
||||
} catch (error) {
|
||||
/* eslint-disable-next-line no-console */
|
||||
console.error(error);
|
||||
}
|
||||
}).then(() => {
|
||||
|
|
@ -34,7 +31,6 @@ initialize_api()
|
|||
apiEvents.emit('initialized');
|
||||
})
|
||||
.catch((error) => {
|
||||
/* eslint-disable-next-line no-console */
|
||||
console.error(error);
|
||||
apiInitialized = false;
|
||||
apiEvents.emit('initialized');
|
||||
|
|
@ -48,7 +44,6 @@ function Core() {
|
|||
|
||||
const events = new EventEmitter();
|
||||
events.on('error', (error) => {
|
||||
/* eslint-disable-next-line no-console */
|
||||
console.error(error);
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ function KeyboardShortcuts() {
|
|||
|
||||
const events = new EventEmitter();
|
||||
events.on('error', (error) => {
|
||||
/* eslint-disable-next-line no-console */
|
||||
console.error(error);
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ function Shell() {
|
|||
|
||||
const events = new EventEmitter();
|
||||
events.on('error', (error) => {
|
||||
/* eslint-disable-next-line no-console */
|
||||
console.error(error);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue