Add deprecation notice

This commit is contained in:
Florine W. Dekker 2021-04-28 12:21:25 +02:00
parent b5be385ea5
commit 4f9d7b8311
Signed by: FWDekker
GPG Key ID: B1B567AF58D6EE0F
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@fwdekker/template",
"version": "2.2.3",
"version": "2.2.4",
"description": "The base template for pages on fwdekker.com.",
"author": "Felix W. Dekker",
"license": "MIT",

View File

@ -191,6 +191,8 @@ const footerLink = function(prefix, text, url, suffix) {
/**
* Unhides the main element on the page and applies default display styling.
*
* @deprecated Will be removed in the near future. Just use `$("main").classList.remove("hidden")` yourself.
*/
const showPage = function() {
const main = $("main");