Skip to content

Commit e538a59

Browse files
committed
Updated ImageFile argument types
1 parent a65cd41 commit e538a59

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/loader/filetypes/ImageFile.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ var GetFastValue = require('../../utils/object/GetFastValue');
2020
* @constructor
2121
* @since 3.0.0
2222
*
23-
* @param {string} key - The name of the asset to load or an object representing the asset
24-
* @param {string} url - The asset's filename
25-
* @param {string} path - The path the asset can be found in
26-
* @param {XHRSettingsObject} xhrSettings - Optional image specific XHR settings
27-
* @param {object} config - config can include: frameWidth, frameHeight, startFrame, endFrame, margin, spacing
23+
* @param {(string|object)} key - The name of the asset to load or an object representing the asset
24+
* @param {string} [url] - The asset's filename
25+
* @param {string} [path] - The path the asset can be found in
26+
* @param {XHRSettingsObject} [xhrSettings] - Optional image specific XHR settings
27+
* @param {object} [config] - config can include: frameWidth, frameHeight, startFrame, endFrame, margin, spacing
2828
*/
2929
var ImageFile = new Class({
3030

0 commit comments

Comments
 (0)