mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 20:53:39 +00:00
Fixed this
return types for Phaser.Cache.BaseCache
This commit is contained in:
parent
b9e3a6395b
commit
1146390520
1 changed files with 2 additions and 2 deletions
4
src/cache/BaseCache.js
vendored
4
src/cache/BaseCache.js
vendored
|
@ -60,7 +60,7 @@ var BaseCache = new Class({
|
|||
* @param {string} key - The unique key by which the data added to the cache will be referenced.
|
||||
* @param {*} data - The data to be stored in the cache.
|
||||
*
|
||||
* @return {Phaser.Cache.BaseCache} This BaseCache object.
|
||||
* @return {this} This BaseCache object.
|
||||
*/
|
||||
add: function (key, data)
|
||||
{
|
||||
|
@ -131,7 +131,7 @@ var BaseCache = new Class({
|
|||
*
|
||||
* @param {string} key - The unique key of the item to remove from the cache.
|
||||
*
|
||||
* @return {Phaser.Cache.BaseCache} This BaseCache object.
|
||||
* @return {this} This BaseCache object.
|
||||
*/
|
||||
remove: function (key)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue