Skip to content

Commit 675cb3b

Browse files
committed
Added HTML Cache
1 parent 0ac877b commit 675cb3b

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/cache/CacheManager.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,15 @@ var CacheManager = new Class({
102102
*/
103103
this.text = new BaseCache();
104104

105+
/**
106+
* A Cache storing all html files, typically added via the Loader.
107+
*
108+
* @name Phaser.Cache.CacheManager#html
109+
* @type {Phaser.Cache.BaseCache}
110+
* @since 3.12.0
111+
*/
112+
this.html = new BaseCache();
113+
105114
/**
106115
* A Cache storing all WaveFront OBJ files, typically added via the Loader.
107116
*
@@ -181,6 +190,7 @@ var CacheManager = new Class({
181190
'shader',
182191
'audio',
183192
'text',
193+
'html',
184194
'obj',
185195
'tilemap',
186196
'xml'

0 commit comments

Comments
 (0)