Add deprecation notice
This commit is contained in:
parent
b5be385ea5
commit
4f9d7b8311
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@fwdekker/template",
|
"name": "@fwdekker/template",
|
||||||
"version": "2.2.3",
|
"version": "2.2.4",
|
||||||
"description": "The base template for pages on fwdekker.com.",
|
"description": "The base template for pages on fwdekker.com.",
|
||||||
"author": "Felix W. Dekker",
|
"author": "Felix W. Dekker",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -191,6 +191,8 @@ const footerLink = function(prefix, text, url, suffix) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unhides the main element on the page and applies default display styling.
|
* 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 showPage = function() {
|
||||||
const main = $("main");
|
const main = $("main");
|
||||||
|
|
Loading…
Reference in New Issue