mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 05:03:37 +00:00
Fixes #2782
This commit is contained in:
parent
24f04c75c8
commit
d75cfeda0a
1 changed files with 2 additions and 2 deletions
|
@ -1754,14 +1754,14 @@ Phaser.Loader.prototype = {
|
|||
},
|
||||
|
||||
/**
|
||||
* Add a synchronization point to the assets/files added within the supplied callback.
|
||||
* Add a synchronization point to the assets / files added within the supplied callback.
|
||||
*
|
||||
* A synchronization point denotes that an asset _must_ be completely loaded before
|
||||
* subsequent assets can be loaded. An asset marked as a sync-point does not need to wait
|
||||
* for previous assets to load (unless they are sync-points). Resources, such as packs, may still
|
||||
* be downloaded around sync-points, as long as they do not finalize loading.
|
||||
*
|
||||
* @method Phaser.Loader#withSyncPoints
|
||||
* @method Phaser.Loader#withSyncPoint
|
||||
* @param {function} callback - The callback is invoked and is supplied with a single argument: the loader.
|
||||
* @param {object} [callbackContext=(loader)] - Context for the callback.
|
||||
* @return {Phaser.Loader} This Loader instance.
|
||||
|
|
Loading…
Reference in a new issue