mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
Reverted type changes
This commit is contained in:
parent
07263863a7
commit
6a241358c4
1 changed files with 3 additions and 3 deletions
|
@ -208,10 +208,10 @@ var BaseSound = new Class({
|
||||||
this.config = Extend(this.config, config);
|
this.config = Extend(this.config, config);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Object containing markers definitions.
|
* Object containing markers definitions (Object.<string, SoundMarker>).
|
||||||
*
|
*
|
||||||
* @name Phaser.Sound.BaseSound#markers
|
* @name Phaser.Sound.BaseSound#markers
|
||||||
* @type {Object.<string, SoundMarker>}
|
* @type {object}
|
||||||
* @default {}
|
* @default {}
|
||||||
* @readOnly
|
* @readOnly
|
||||||
* @since 3.0.0
|
* @since 3.0.0
|
||||||
|
@ -355,7 +355,7 @@ var BaseSound = new Class({
|
||||||
*/
|
*/
|
||||||
play: function (markerName, config)
|
play: function (markerName, config)
|
||||||
{
|
{
|
||||||
if (markerName === undefined) { markerName = ''; }
|
if (markerName === void 0) { markerName = ''; }
|
||||||
|
|
||||||
if (typeof markerName === 'object')
|
if (typeof markerName === 'object')
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue