diff options
author | Sam Potts <sam@potts.es> | 2020-04-11 16:23:14 +1000 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2020-04-11 16:23:14 +1000 |
commit | 502d5977d79148957828cbf313b7ef4c9f31973f (patch) | |
tree | 71bbffcffc9745c5b672a122f3937519ba67c1c4 /src/js/utils/promise.js | |
parent | 8f5b59c18cc7837bde9af55d24d12e1fd939043d (diff) | |
download | plyr-502d5977d79148957828cbf313b7ef4c9f31973f.tar.lz plyr-502d5977d79148957828cbf313b7ef4c9f31973f.tar.xz plyr-502d5977d79148957828cbf313b7ef4c9f31973f.zip |
Converted to 2 space indentation
Diffstat (limited to 'src/js/utils/promise.js')
-rw-r--r-- | src/js/utils/promise.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/js/utils/promise.js b/src/js/utils/promise.js index f45b46ab..4b59bba3 100644 --- a/src/js/utils/promise.js +++ b/src/js/utils/promise.js @@ -6,9 +6,9 @@ import is from './is'; * @param {Object} value An object that may or may not be `Promise`-like. */ export function silencePromise(value) { - if (is.promise(value)) { - value.then(null, () => {}); - } + if (is.promise(value)) { + value.then(null, () => {}); + } } export default { silencePromise }; |