You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/loader/filetypes/AnimationJSONFile.js
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ var AnimationJSONFile = function (key, url, path, xhrSettings)
32
32
33
33
/**
34
34
* Adds an Animation JSON file to the current load queue.
35
-
*
35
+
*
36
36
* Note: This method will only be available if the Animation JSON File type has been built into Phaser.
37
37
*
38
38
* The file is **not** loaded immediately after calling this method.
@@ -41,11 +41,11 @@ var AnimationJSONFile = function (key, url, path, xhrSettings)
41
41
* @method Phaser.Loader.LoaderPlugin#animation
42
42
* @since 3.0.0
43
43
*
44
-
* @param {string|array|object} key - A unique string to be used as the key to reference this file from the Cache. Must be unique within this file type.
44
+
* @param {(string|array|object)} key - A unique string to be used as the key to reference this file from the Cache. Must be unique within this file type.
45
45
* @param {string} [url] - URL of the file. If `undefined` or `null` the url will be set to `<key>.json`,
46
46
* i.e. if `key` was "alien" then the URL will be "alien.json".
47
47
* @param {object} [xhrSettings] - File specific XHR settings to be used during the load. These settings are merged with the global Loader XHR settings.
48
-
*
48
+
*
49
49
* @return {Phaser.Loader.LoaderPlugin} The Loader.
0 commit comments