commit
51f86195f5
@ -19,6 +19,8 @@ function isInBrowser() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function retrieveFile(path) {
|
function retrieveFile(path) {
|
||||||
|
// Trim the path to make sure there is no extra whitespace.
|
||||||
|
path = path.trim();
|
||||||
if (path in fileContentsCache) {
|
if (path in fileContentsCache) {
|
||||||
return fileContentsCache[path];
|
return fileContentsCache[path];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user