diff options
author | Sam Potts <sam@potts.es> | 2021-01-29 23:28:02 +1100 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2021-01-29 23:28:02 +1100 |
commit | a187d07807415a833baf340793e988f81751478e (patch) | |
tree | 5202a7057e90922ebe8cd53954c61e64037ca4c0 /src/js/utils/is.js | |
parent | 3096dd9513e144ea59a90fcd2a0f587bd0c2ee91 (diff) | |
download | plyr-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.js | 10 |
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) || |