Reverted type changes

This commit is contained in:
Pavle Goloskokovic 2018-02-18 19:12:04 +01:00
parent 07263863a7
commit 6a241358c4

View file

@ -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')
{ {