Skip to content

Commit d6a1abc

Browse files
committed
Renamed to CacheManager.
1 parent 17336a2 commit d6a1abc

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/boot/Game.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var VisibilityHandler = require('./VisibilityHandler');
1212
var AnimationManager = require('../animations/AnimationManager');
1313
var CreateRenderer = require('./CreateRenderer');
1414
var Data = require('../data/Data');
15-
var GlobalCache = require('../cache/GlobalCache');
15+
var CacheManager = require('../cache/CacheManager');
1616
var InputManager = require('../input/InputManager');
1717
var GlobalSceneManager = require('../scene/global/GlobalSceneManager');
1818
var PluginManager = require('../plugins/PluginManager');
@@ -102,9 +102,9 @@ var Game = new Class({
102102
/**
103103
* [description]
104104
*
105-
* @property {Phaser.Cache.GlobalCache} cache
105+
* @property {Phaser.Cache.CacheManager} cache
106106
*/
107-
this.cache = new GlobalCache(this);
107+
this.cache = new CacheManager(this);
108108

109109
/**
110110
* [description]
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
var BaseCache = require('./BaseCache');
22
var Class = require('../utils/Class');
33

4-
var GlobalCache = new Class({
4+
var CacheManager = new Class({
55

66
initialize:
77

88
/**
99
* [description]
1010
*
11-
* @class GlobalCache
11+
* @class CacheManager
1212
* @memberOf Phaser.Cache
1313
* @constructor
1414
* @since 3.0.0
1515
*
1616
* @param {Phaser.Game} game - [description]
1717
*/
18-
function GlobalCache (game)
18+
function CacheManager (game)
1919
{
2020
/**
2121
* [description]
@@ -127,7 +127,7 @@ var GlobalCache = new Class({
127127
/**
128128
* [description]
129129
*
130-
* @method Phaser.Cache.GlobalCache#addCustom
130+
* @method Phaser.Cache.CacheManager#addCustom
131131
* @since 3.0.0
132132
*
133133
* @param {string} key - [description]
@@ -146,4 +146,4 @@ var GlobalCache = new Class({
146146

147147
});
148148

149-
module.exports = GlobalCache;
149+
module.exports = CacheManager;

0 commit comments

Comments
 (0)