Skip to content

Commit 669792d

Browse files
committed
Tidying up
1 parent 107ca71 commit 669792d

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/sound/html5/HTML5AudioSoundManager.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
22
* @author Richard Davey <rich@photonstorm.com>
3+
* @author Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com)
34
* @copyright 2018 Photon Storm Ltd.
45
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
56
*/
@@ -9,13 +10,12 @@ var Class = require('../../utils/Class');
910
var HTML5AudioSound = require('./HTML5AudioSound');
1011

1112
/**
12-
* HTML5 Audio implementation of the sound manager.
13+
* HTML5 Audio implementation of the Sound Manager.
1314
*
1415
* @class HTML5AudioSoundManager
1516
* @extends Phaser.Sound.BaseSoundManager
1617
* @memberOf Phaser.Sound
1718
* @constructor
18-
* @author Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com)
1919
* @since 3.0.0
2020
*
2121
* @param {Phaser.Game} game - Reference to the current game instance.
@@ -173,7 +173,7 @@ var HTML5AudioSoundManager = new Class({
173173
return true;
174174
});
175175

176-
if(!this.locked)
176+
if (!this.locked)
177177
{
178178
return;
179179
}
@@ -242,15 +242,15 @@ var HTML5AudioSoundManager = new Class({
242242
{
243243
this.forEachActiveSound(function (sound)
244244
{
245-
if(sound.currentMarker === null && sound.duration === 0)
245+
if (sound.currentMarker === null && sound.duration === 0)
246246
{
247247
sound.duration = sound.tags[0].duration;
248248
}
249249

250250
sound.totalDuration = sound.tags[0].duration;
251251
});
252252

253-
while(this.lockedActionsQueue.length)
253+
while (this.lockedActionsQueue.length)
254254
{
255255
var lockedAction = this.lockedActionsQueue.shift();
256256

0 commit comments

Comments
 (0)