diff options
author | Sam Potts <sam@potts.es> | 2021-01-29 23:43:10 +1100 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2021-01-29 23:43:10 +1100 |
commit | 8596e05df37b95dcb4af9325da6218465c17af0a (patch) | |
tree | 91ad91d9f12c010f0db6c8bfca9195825a036153 /src/js/utils/is.js | |
parent | 2cebf9b8a37458ddd1b5ffd6737ea2ebe78cb557 (diff) | |
parent | 1aee8f53a725df3c6f93e8a8c890a2e8bb9d03bf (diff) | |
download | plyr-8596e05df37b95dcb4af9325da6218465c17af0a.tar.lz plyr-8596e05df37b95dcb4af9325da6218465c17af0a.tar.xz plyr-8596e05df37b95dcb4af9325da6218465c17af0a.zip |
Merge branch 'master' into develop
# Conflicts:
# src/js/utils/is.js
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) || |