Skip to content
Merged

A #93

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
20c9d60
Update index.html
benhatsor Dec 30, 2021
7b9caf5
Update README.md
benhatsor Dec 30, 2021
ab4c6f0
Update README.md
benhatsor Dec 30, 2021
8b85534
Update README.md
benhatsor Dec 30, 2021
d5843cf
1.9.0
benhatsor Dec 30, 2021
0718780
Update homepage.js
benhatsor Jan 10, 2022
8cad1b4
Update homepage.js
benhatsor Jan 10, 2022
e42aa5f
Update homepage.css
benhatsor Jan 10, 2022
22edda1
Delete config.yml
benhatsor Jan 13, 2022
19f380b
Delete PULL_REQUEST_TEMPLATE.md
benhatsor Jan 13, 2022
b942ce8
Update live-view.js
benhatsor Jan 15, 2022
5cb12f6
Update live-view.js
benhatsor Jan 15, 2022
e477c52
Update live-view.js
benhatsor Jan 15, 2022
76ca48a
Update live-view.js
benhatsor Jan 15, 2022
de58fc2
Update live-view.js
benhatsor Jan 15, 2022
c03bc6a
Update live-view.js
benhatsor Jan 15, 2022
d9cb5f6
Update live-view.js
benhatsor Jan 15, 2022
cc6ba9e
Update live-view.js
benhatsor Jan 15, 2022
5e55ff1
Update live-view.js
benhatsor Jan 15, 2022
dae6fcb
Update live-view.js
benhatsor Jan 15, 2022
64d2f7a
Update service-worker.js
benhatsor Jan 15, 2022
7f3d589
Update live-view.js
benhatsor Jan 15, 2022
60552db
Update live-view.js
benhatsor Jan 15, 2022
aa2aed4
Update service-worker.js
benhatsor Jan 15, 2022
1a50d82
Update live-view.js
benhatsor Jan 16, 2022
098e8eb
Update service-worker.js
benhatsor Jan 16, 2022
0a6eec4
Update live-view.js
benhatsor Jan 16, 2022
74a1506
Update live-view.js
benhatsor Jan 16, 2022
3d029f7
Update prism.js
benhatsor Jan 20, 2022
06a4dd5
Update prism.js
benhatsor Jan 20, 2022
29fc23a
Update README.md
benhatsor Jan 23, 2022
eda35e4
Add files via upload
benhatsor Jan 25, 2022
ca0d301
Update prism.js
benhatsor Feb 7, 2022
4d1934c
Update filebrowser.js
benhatsor Feb 9, 2022
f62e3ec
Update filebrowser.js
benhatsor Feb 9, 2022
c575a34
Add files via upload
benhatsor Feb 11, 2022
f39d7be
Delete oogway-404.png
benhatsor Feb 11, 2022
0870587
Update filebrowser.js
benhatsor Feb 11, 2022
b3b040b
Merge branch 'dev' into main
benhatsor Feb 11, 2022
38aa328
Update filebrowser.js
benhatsor Feb 11, 2022
fcb8c16
Update service-worker.js
benhatsor Feb 11, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

30 changes: 17 additions & 13 deletions filebrowser.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,22 +144,26 @@ async function renderSidebarHTML() {
let modFilesChanged = false;

Object.values(modifiedFiles).forEach(modFile => {

// map modified file location
let [fileUser, fileRepo, fileDir] = modFile.dir.split(',');

// if modified file dosen't have a branch
// and is in current repo
if (!fileRepo.includes(':')
&& fileUser === user
&& fileRepo === repoName) {

// append default branch to file
fileRepo = fileRepo + ':' + branch;
modFile.dir = [fileUser, fileRepo, fileDir].join();
if (modFile.dir) {

modFilesChanged = true;
// map modified file location
let [fileUser, fileRepo, fileDir] = modFile.dir.split(',');

// if modified file dosen't have a branch
// and is in current repo
if (!fileRepo.includes(':')
&& fileUser === user
&& fileRepo === repoName) {

// append default branch to file
fileRepo = fileRepo + ':' + branch;
modFile.dir = [fileUser, fileRepo, fileDir].join();

modFilesChanged = true;

}

}

});
Expand Down
2 changes: 1 addition & 1 deletion service-worker.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

// update cache names any time any of the cached files change
const CACHE_NAME = 'static-cache-v289';
const CACHE_NAME = 'static-cache-v290';

// list of files to cache
const FILES_TO_CACHE = [
Expand Down