aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/utils/is.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2021-01-29 23:28:02 +1100
committerSam Potts <sam@potts.es>2021-01-29 23:28:02 +1100
commita187d07807415a833baf340793e988f81751478e (patch)
tree5202a7057e90922ebe8cd53954c61e64037ca4c0 /src/js/utils/is.js
parent3096dd9513e144ea59a90fcd2a0f587bd0c2ee91 (diff)
downloadplyr-a187d07807415a833baf340793e988f81751478e.tar.lz
plyr-a187d07807415a833baf340793e988f81751478e.tar.xz
plyr-a187d07807415a833baf340793e988f81751478e.zip
chore: linting fix
Diffstat (limited to 'src/js/utils/is.js')
-rw-r--r--src/js/utils/is.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/js/utils/is.js b/src/js/utils/is.js
index 5a60da06..28f0c1a4 100644
--- a/src/js/utils/is.js
+++ b/src/js/utils/is.js
@@ -21,11 +21,11 @@ const isTrack = (input) => instanceOf(input, TextTrack) || (!isNullOrUndefined(i
const isPromise = (input) => instanceOf(input, Promise) && isFunction(input.then);
const isElement = (input) =>
- input !== null &&
- (typeof input === "object") &&
- (input.nodeType === 1) &&
- (typeof input.style === "object") &&
- (typeof input.ownerDocument === "object");
+ input !== null &&
+ typeof input === 'object' &&
+ input.nodeType === 1 &&
+ typeof input.style === 'object' &&
+ typeof input.ownerDocument === 'object';
const isEmpty = (input) =>
isNullOrUndefined(input) ||