commit
e2d3f1e2f3
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ function loadCached(url) {
|
||||||
return fetch(url)
|
return fetch(url)
|
||||||
.then(response => response.text())
|
.then(response => response.text())
|
||||||
.then(text => {
|
.then(text => {
|
||||||
cache[url] = text;
|
cache.set(url,text);
|
||||||
return text;
|
return text;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue