Skip to content

Commit 881dca3

Browse files
Fix jsdoc: change to #audioSprite
The Phaser.Loader.audioSprite method is using #audiosprite in its jsdoc. Here it is changed to #audioSprite.
1 parent 3d1b10c commit 881dca3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/loader/Loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,7 @@ Phaser.Loader.prototype = {
10351035
*
10361036
* The URL can be relative or absolute. If the URL is relative the `Loader.baseURL` and `Loader.path` values will be prepended to it.
10371037
*
1038-
* @method Phaser.Loader#audiosprite
1038+
* @method Phaser.Loader#audioSprite
10391039
* @param {string} key - Unique asset key of the audio file.
10401040
* @param {Array|string} urls - An array containing the URLs of the audio files, i.e.: [ 'audiosprite.mp3', 'audiosprite.ogg', 'audiosprite.m4a' ] or a single string containing just one URL.
10411041
* @param {string} [jsonURL=null] - The URL of the audiosprite configuration JSON object. If you wish to pass the data directly set this parameter to null.

0 commit comments

Comments
 (0)