-
Notifications
You must be signed in to change notification settings - Fork 0
/
heretics-2021-11-02.html
129 lines (88 loc) · 3.29 KB
/
heretics-2021-11-02.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,user-scalable=no,minimum-scale=1.0,maximum-scale=1.0" />
<meta name="description"
content="Built by residents with abilities - for residents with needs">
<meta name="keywords" content="JavaScript,Markdown,GitHub,FOSS">
<meta name="date" content="2021-11-02">
<title>Heretics</title>
<!-- Copyright 2021 Theo Armour. MIT license -->
<link id=CORstyle rel="stylesheet" href="./lib11/style/style-2021-11-02.css">
<style>
:root {
--mnu-width: 22rem;
--main-hue: 10;
/* 0 to 360 0=red 120=green 240=blue */
}
</style>
</head>
<body>
<script src="./lib11/mnu-menu/r-2021-11-02/mnu-menu.js"></script>
<script src="./lib11/frx-file-read-xhr/r-2021-11-02/frx-file-read-xhr.js"></script>
<script src="./lib11/grv-github-repo-tree-view/v-2021-11-02/grv-github-repo-tree-view.js"></script>
<div id=MNUdivShowHide ></div>
<main id=main>
<div id="divMainContent"></div>
</main>
<script>
const COR = {
// Used by GRV
user: "heretics-sf",
repo: "heretics-sf.github.io",
branch: "master",
// Used by FRX
pathContent: "https://heretics-sf.github.io/",
pathTooToo: "https://pushme-pullyou.github.io/tootoo-2021/",
// pathTooToo: "./",
defaultFile: "README.md",
// defaultIgnoreFolders: [],
defaultIgnoreFolders: [ "archive", "drafts", "journal", "lib", "lib-templates", "zzz-residents"],
filterFiles: [ "gif", "md", "jpg", "license", "pdf", "png", "svg", "txt" ],
// urlAssets: "https://pushme-pullyou.github.io/tootoo-2021/",
// Used by MNU
description: document.head.querySelector( "[ name=description ]" ).content,
iconExternalFile: `<img class=infoImg src="https://pushme-pullyou.github.io/tootoo-2021/lib/assets/icons/icon-external-link.svg">`,
iconGitHub: `<img src="https://pushme-pullyou.github.io/tootoo-2021/lib/assets/icons/mark-github.svg">`,
iconInfo: `<img class=infoImg src="https://pushme-pullyou.github.io/tootoo-2021/lib/assets/icons/noun_Information_585560.svg">`,
iconRepo: "❦",
title: document.title ? document.title : location.href.split( "/" ).pop().slice( 0, - 5 ).replace( /-/g, " " ),
urlSource: "https://github.com/heretics-sf/heretics-sf.github.io/",
version: document.head.querySelector( "[ name=date ]" ).content,
};
init();
function init() {
// MNU = Menu ~ mnu-menu.js
MNU.init();
//MNU.getSample();
sumNavMenu.hidden = true;
//const htm = "Hello, World!";
//MNU.init( { description: htm } );
//MNUaSource.hidden = true;
//MNUspnVersion.hidden = true;
// FRX = File Read XHR
FRX.init();
// GR
//GRA.init();
//GRV = GitHub Repo View
GRV.getFiles = GRV.getFilesAll;
GRV.getFiles = GRV.getFilesCurated;
GRV.init();
GRVbutMenu.innerHTML = GRV.menuCurated;
GRVdet.open = true;
GRVsumRepo.hidden = true;
GRV.getRepo();
setTimeout( () => { GRVdet3.open = true }, 800 );
FRX.onHashChange();
// if running on server, keeps address bar pointed to latest dev
if ( location.protocol === "https:" ) {
if ( COR.version !== "2021-11-02" ) { window.history.pushState( "", "", "../" + location.hash ); }
COR.ignoreFolders = COR.defaultIgnoreFolders;
} else {
COR.ignoreFolders = [];
}
}
</script>
</body>
</html>