Skip to content

Commit

Permalink
chore(macros): deprecate {{warning}} macro (#6994)
Browse files Browse the repository at this point in the history
  • Loading branch information
yin1999 authored Aug 29, 2022
1 parent 27678e9 commit 68d8fa1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kumascript/macros/warning.ejs
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<%
// Throw a MacroDeprecatedError flaw
// Can be removed when its usage translated-content is down to 0
mdn.deprecated();
var s_warning = mdn.localString({
"en-US": "Warning:",
"de": "Achtung:",
Expand Down

0 comments on commit 68d8fa1

Please sign in to comment.