Skip to content

Commit db1c121

Browse files
committed
some cleanup.
1 parent bce695d commit db1c121

6 files changed

Lines changed: 192 additions & 80 deletions

File tree

index.html

Lines changed: 169 additions & 2 deletions
Large diffs are not rendered by default.

offline.html

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<title>DAMN DOG</title>
66
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
77
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Slab:100,400,300,700|Roboto:400,300,700,400italic">
8-
<link rel="stylesheet" href="css/damn.css?v=2025-03-25T18:29:43.652Z">
8+
<link rel="stylesheet" href="css/damn.css?v=2025-09-09T15:07:26.193Z">
99
<meta name="viewport" content="width=device-width, initial-scale=1">
1010
<meta name="description" content="The guessing game for wikiHow illustrations.">
1111
<meta name="keywords" content="wikiHow, guessing game, funny game, illustrations, wiki how game">
1212
<meta name="author" content="Lemon">
13-
<meta http-equiv="last-modified" content="2025-03-25T18:29:43.652Z">
13+
<meta http-equiv="last-modified" content="2025-09-09T15:07:26.193Z">
1414
<link rel="canonical" href="https://damn.dog">
1515
<!-- favicons-->
1616
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
@@ -120,28 +120,6 @@ <h2>GAME OVER</h2>
120120
<script>
121121
const testing = false;
122122

123-
</script>
124-
<script type="text/javascript">
125-
//- if (typeof navigator.serviceWorker !== 'undefined') {
126-
//- navigator.serviceWorker.register('/service-worker.js')
127-
//- }
128-
129-
/*
130-
Notification.requestPermission(result => {
131-
if (result === 'granted') {
132-
//permission granted.
133-
navigator.serviceWorker.ready.then(registration => {
134-
registration.showNotification('Damn Dog has been updated', {
135-
icon: '/android-chrome-96x96.png',
136-
vibrate: [500, 100, 500],
137-
body: '7 new rounds have been added to damn.dog, bringing the total up to 358.',
138-
tag: 'vibration-sample'
139-
});
140-
});
141-
}
142-
});
143-
*/
144-
145123
</script>
146124
<!-- Global site tag (gtag.js) - Google Analytics-->
147125
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-15129990-16"></script>
@@ -152,7 +130,7 @@ <h2>GAME OVER</h2>
152130
gtag('config', 'UA-15129990-16');
153131

154132
</script>
155-
<script src="js/min/damn.vue.min.js?v=2025-03-25T18:29:43.652Z"></script>
133+
<script src="js/min/damn.vue.min.js?v=2025-09-09T15:07:26.193Z"></script>
156134
<script type="application/ld+json">
157135
{
158136
"@context": "http://schema.org",

prepros.config

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -371,17 +371,6 @@
371371
"keep_fnames": false,
372372
"safari10": false
373373
},
374-
"node-sass": {
375-
"indentType": "space",
376-
"allowWildcardImports": false,
377-
"indentWidth": 2,
378-
"linefeed": "lf",
379-
"outputStyle": "expanded",
380-
"precision": 10,
381-
"sourceMap": false,
382-
"removeCharset": false,
383-
"sourceComments": false
384-
},
385374
"png": {
386375
"quality": 90
387376
},
@@ -460,6 +449,17 @@
460449
"turf": {
461450
"rootDir": ""
462451
},
452+
"node-sass": {
453+
"indentType": "space",
454+
"allowWildcardImports": false,
455+
"indentWidth": 2,
456+
"linefeed": "lf",
457+
"outputStyle": "expanded",
458+
"precision": 10,
459+
"sourceMap": false,
460+
"removeCharset": false,
461+
"sourceComments": false
462+
},
463463
"typescript": {
464464
"allowJs": false,
465465
"allowSyntheticDefaultImports": true,
@@ -2665,12 +2665,7 @@
26652665
{
26662666
"file": "pug/index.pug",
26672667
"config": {
2668-
"customOutput": "index.html",
2669-
"tasks": {
2670-
"minify-html": {
2671-
"enable": true
2672-
}
2673-
}
2668+
"customOutput": "index.html"
26742669
}
26752670
},
26762671
{

privacy.html

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<title>DAMN DOG</title>
66
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
77
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Slab:100,400,300,700|Roboto:400,300,700,400italic">
8-
<link rel="stylesheet" href="css/damn.css?v=2025-03-25T18:29:43.718Z">
8+
<link rel="stylesheet" href="css/damn.css?v=2025-09-09T15:07:26.243Z">
99
<meta name="viewport" content="width=device-width, initial-scale=1">
1010
<meta name="description" content="The guessing game for wikiHow illustrations.">
1111
<meta name="keywords" content="wikiHow, guessing game, funny game, illustrations, wiki how game">
1212
<meta name="author" content="Lemon">
13-
<meta http-equiv="last-modified" content="2025-03-25T18:29:43.718Z">
13+
<meta http-equiv="last-modified" content="2025-09-09T15:07:26.243Z">
1414
<link rel="canonical" href="https://damn.dog">
1515
<!-- favicons-->
1616
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
@@ -163,28 +163,6 @@ <h2>GAME OVER</h2>
163163
<script>
164164
const testing = false;
165165

166-
</script>
167-
<script type="text/javascript">
168-
//- if (typeof navigator.serviceWorker !== 'undefined') {
169-
//- navigator.serviceWorker.register('/service-worker.js')
170-
//- }
171-
172-
/*
173-
Notification.requestPermission(result => {
174-
if (result === 'granted') {
175-
//permission granted.
176-
navigator.serviceWorker.ready.then(registration => {
177-
registration.showNotification('Damn Dog has been updated', {
178-
icon: '/android-chrome-96x96.png',
179-
vibrate: [500, 100, 500],
180-
body: '7 new rounds have been added to damn.dog, bringing the total up to 358.',
181-
tag: 'vibration-sample'
182-
});
183-
});
184-
}
185-
});
186-
*/
187-
188166
</script>
189167
<!-- Global site tag (gtag.js) - Google Analytics-->
190168
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-15129990-16"></script>
@@ -195,7 +173,7 @@ <h2>GAME OVER</h2>
195173
gtag('config', 'UA-15129990-16');
196174

197175
</script>
198-
<script src="js/min/damn.vue.min.js?v=2025-03-25T18:29:43.718Z"></script>
176+
<script src="js/min/damn.vue.min.js?v=2025-09-09T15:07:26.243Z"></script>
199177
<script type="application/ld+json">
200178
{
201179
"@context": "http://schema.org",

pug/index.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ html(lang="en")
3535
include partials/_gameover.pug
3636

3737
include partials/_javascripts.pug
38-
include partials/_schema.pug
38+
include partials/_schema.pug

pug/partials/_javascripts.pug

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,18 @@
1-
//- jQuery and Vue (minified if on prod)
21
if testing
3-
//-script(src="js/libraries/jquery-3.3.1.js")
42
script(src="js/libraries/vue.js")
53
script.
64
const testing = true;
75
else
8-
//-script(src="js/libraries/jquery-3.3.1.min.js")
96
script(src="js/libraries/vue.min.js")
107
script.
118
const testing = false;
129

1310
//- ServiceWorker
11+
//-script(type="text/javascript").
12+
if (typeof navigator.serviceWorker !== 'undefined') {
13+
navigator.serviceWorker.register('/service-worker.js')
14+
}
1415
15-
script(type="text/javascript").
16-
//- if (typeof navigator.serviceWorker !== 'undefined') {
17-
//- navigator.serviceWorker.register('/service-worker.js')
18-
//- }
19-
20-
/*
2116
Notification.requestPermission(result => {
2217
if (result === 'granted') {
2318
//permission granted.
@@ -31,7 +26,6 @@ script(type="text/javascript").
3126
});
3227
}
3328
});
34-
*/
3529
3630
// Global site tag (gtag.js) - Google Analytics
3731
script(async src='https://www.googletagmanager.com/gtag/js?id=UA-15129990-16')

0 commit comments

Comments
 (0)