From d90f46493cc314a93b6b7591c81682ed77d657c9 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 1 Jul 2024 18:02:20 -0400 Subject: [PATCH] javascript: make deprecation notice more prominent This text is easy to miss as it's only at the top, and in the same size and weight as other intro text. If people follow links to sections (as is the norm for style guides), this will be completely skipped. Let's make the notice into a sticky butter bar at the top so it's always shown regardless of where the person is on the page. --- javascriptguide.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/javascriptguide.xml b/javascriptguide.xml index ce67502..4185c87 100644 --- a/javascriptguide.xml +++ b/javascriptguide.xml @@ -1,11 +1,12 @@ +

+ Please note: This guide is old and is not being updated. It is retained + as a reference as it was written for pre-ECMAScript 6th Edition features. + Please use the a href="jsguide.html">newer guide instead. +

- Please note: there's a newer version of this guide that includes - ECMAScript 6th Edition features. It lives here. - You should probably be using that for new code. - Revision 2.93