forked from tools/doomsday
Update dependencies, implement new features
This commit is contained in:
parent
16e51d4cc9
commit
666a4f9244
Binary file not shown.
10
package.json
10
package.json
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "doomsday",
|
"name": "doomsday",
|
||||||
"version": "1.3.5",
|
"version": "1.3.6",
|
||||||
"description": "Test your mastery of Conway's Doomsday rule.",
|
"description": "Test your mastery of Conway's Doomsday rule.",
|
||||||
"author": "Felix W. Dekker",
|
"author": "Felix W. Dekker",
|
||||||
"browser": "dist/bundle.js",
|
"browser": "dist/bundle.js",
|
||||||
|
@ -16,12 +16,12 @@
|
||||||
"deploy": "grunt deploy"
|
"deploy": "grunt deploy"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fwdekker/template": "^0.0.13",
|
"@fwdekker/template": "^0.0.18",
|
||||||
"js-cookie": "^2.2.1"
|
"js-cookie": "^2.2.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/js-cookie": "^2.2.6",
|
"@types/js-cookie": "^2.2.6",
|
||||||
"grunt": "^1.1.0",
|
"grunt": "^1.2.1",
|
||||||
"grunt-cli": "^1.3.2",
|
"grunt-cli": "^1.3.2",
|
||||||
"grunt-contrib-clean": "^2.0.0",
|
"grunt-contrib-clean": "^2.0.0",
|
||||||
"grunt-contrib-copy": "^1.0.0",
|
"grunt-contrib-copy": "^1.0.0",
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
"grunt-focus": "^1.0.0",
|
"grunt-focus": "^1.0.0",
|
||||||
"grunt-text-replace": "^0.4.0",
|
"grunt-text-replace": "^0.4.0",
|
||||||
"grunt-webpack": "^3.1.3",
|
"grunt-webpack": "^3.1.3",
|
||||||
"webpack": "^4.42.1",
|
"webpack": "^4.43.0",
|
||||||
"webpack-cli": "^3.3.11"
|
"webpack-cli": "^3.3.12"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -204,7 +204,7 @@ class ToggleableSection {
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
_storeToggle() {
|
_storeToggle() {
|
||||||
Cookies.set(`toggle-${this._name}`, this.isOpened(),
|
Cookies.set(`toggle-${this._name}`, "" + this.isOpened(),
|
||||||
{expires: 365 * 10, secure: true, sameSite: "lax", path: ""});
|
{expires: 365 * 10, secure: true, sameSite: "lax", path: ""});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -351,7 +351,7 @@ class DoomsdayDate {
|
||||||
|
|
||||||
doAfterLoad(() => {
|
doAfterLoad(() => {
|
||||||
// Initialize template
|
// Initialize template
|
||||||
$("#nav").appendChild(nav());
|
$("#nav").appendChild(nav("/Tools/Doomsday/"));
|
||||||
$("#header").appendChild(header({
|
$("#header").appendChild(header({
|
||||||
title: "Doomsday",
|
title: "Doomsday",
|
||||||
description: `
|
description: `
|
||||||
|
|
Loading…
Reference in New Issue