mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Suppress getter-return errors in compatibility tests
This commit is contained in:
parent
23c3536ace
commit
75ac5ed8b2
2 changed files with 2 additions and 0 deletions
|
@ -63,6 +63,7 @@ define([], function () {
|
||||||
var supportsCaptureOption = false;
|
var supportsCaptureOption = false;
|
||||||
try {
|
try {
|
||||||
var opts = Object.defineProperty({}, 'capture', {
|
var opts = Object.defineProperty({}, 'capture', {
|
||||||
|
// eslint-disable-next-line getter-return
|
||||||
get: function () {
|
get: function () {
|
||||||
supportsCaptureOption = true;
|
supportsCaptureOption = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,6 +33,7 @@ define(["dom", "browser", "layoutManager"], function (dom, browser, layoutManage
|
||||||
var elem = document.createElement("div");
|
var elem = document.createElement("div");
|
||||||
|
|
||||||
var opts = Object.defineProperty({}, "behavior", {
|
var opts = Object.defineProperty({}, "behavior", {
|
||||||
|
// eslint-disable-next-line getter-return
|
||||||
get: function () {
|
get: function () {
|
||||||
supportsScrollToOptions = true;
|
supportsScrollToOptions = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue