From 0b71d4f64e45b29b7c14c45a40cb3827ce4d7f24 Mon Sep 17 00:00:00 2001 From: Paul Kaplan <pkaplan@media.mit.edu> Date: Wed, 16 Aug 2017 11:31:10 -0400 Subject: [PATCH] Indent previous then also --- src/containers/sound-library.jsx | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/containers/sound-library.jsx b/src/containers/sound-library.jsx index b5a4777dc..8fe3f97bd 100644 --- a/src/containers/sound-library.jsx +++ b/src/containers/sound-library.jsx @@ -31,15 +31,16 @@ class SoundLibrary extends React.PureComponent { const idParts = md5ext.split('.'); const md5 = idParts[0]; const vm = this.props.vm; - vm.runtime.storage.load(vm.runtime.storage.AssetType.Sound, md5).then(soundAsset => { - const sound = { - md5: md5ext, - name: soundItem.name, - format: soundItem.format, - data: soundAsset.data - }; - return this.audioEngine.decodeSound(sound); - }) + vm.runtime.storage.load(vm.runtime.storage.AssetType.Sound, md5) + .then(soundAsset => { + const sound = { + md5: md5ext, + name: soundItem.name, + format: soundItem.format, + data: soundAsset.data + }; + return this.audioEngine.decodeSound(sound); + }) .then(soundId => { this.player.playSound(soundId); }); -- GitLab