Update dependencies, implement new features

This commit is contained in:
Florine W. Dekker 2020-07-20 13:00:05 +02:00
parent 16e51d4cc9
commit 666a4f9244
Signed by: FWDekker
GPG Key ID: B1B567AF58D6EE0F
3 changed files with 7 additions and 7 deletions

BIN
package-lock.json generated

Binary file not shown.

View File

@ -1,6 +1,6 @@
{
"name": "doomsday",
"version": "1.3.5",
"version": "1.3.6",
"description": "Test your mastery of Conway's Doomsday rule.",
"author": "Felix W. Dekker",
"browser": "dist/bundle.js",
@ -16,12 +16,12 @@
"deploy": "grunt deploy"
},
"dependencies": {
"@fwdekker/template": "^0.0.13",
"@fwdekker/template": "^0.0.18",
"js-cookie": "^2.2.1"
},
"devDependencies": {
"@types/js-cookie": "^2.2.6",
"grunt": "^1.1.0",
"grunt": "^1.2.1",
"grunt-cli": "^1.3.2",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-copy": "^1.0.0",
@ -29,7 +29,7 @@
"grunt-focus": "^1.0.0",
"grunt-text-replace": "^0.4.0",
"grunt-webpack": "^3.1.3",
"webpack": "^4.42.1",
"webpack-cli": "^3.3.11"
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12"
}
}

View File

@ -204,7 +204,7 @@ class ToggleableSection {
* @private
*/
_storeToggle() {
Cookies.set(`toggle-${this._name}`, this.isOpened(),
Cookies.set(`toggle-${this._name}`, "" + this.isOpened(),
{expires: 365 * 10, secure: true, sameSite: "lax", path: ""});
}
@ -351,7 +351,7 @@ class DoomsdayDate {
doAfterLoad(() => {
// Initialize template
$("#nav").appendChild(nav());
$("#nav").appendChild(nav("/Tools/Doomsday/"));
$("#header").appendChild(header({
title: "Doomsday",
description: `