Skip to content

Commit caea415

Browse files
committed
invalid variable name files instead of files in functions
1 parent bc60546 commit caea415

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

v3/src/cache/BaseCache.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,27 @@ BaseCache.prototype = {
1111

1212
add: function (key, data)
1313
{
14-
this.files.set(key, data);
14+
this.entries.set(key, data);
1515
},
1616

1717
has: function (key)
1818
{
19-
return this.files.has(key);
19+
return this.entries.has(key);
2020
},
2121

2222
get: function (key)
2323
{
24-
return this.files.get(key);
24+
return this.entries.get(key);
2525
},
2626

2727
remove: function (key)
2828
{
29-
this.files.delete(key);
29+
this.entries.delete(key);
3030
},
3131

3232
destroy: function ()
3333
{
34-
this.files.clear();
34+
this.entries.clear();
3535
}
3636

3737
};

0 commit comments

Comments
 (0)