Skip to content

Instantly share code, notes, and snippets.

@wbamberg
Created November 4, 2022 16:20
Show Gist options
  • Save wbamberg/1381c5c9c20752c89fed32b66c991230 to your computer and use it in GitHub Desktop.
Save wbamberg/1381c5c9c20752c89fed32b66c991230 to your computer and use it in GitHub Desktop.
kumascript/macros/JSRef.ejs
26:var containsTag = page.hasTag;
kumascript/macros/APIRef.ejs
27:var hasTag = page.hasTag;
197: if (hasTag(aPage, 'Experimental')) {
201: if (hasTag(aPage, 'Non-standard') || hasTag(aPage, 'Non Standard')) {
205: if (hasTag(aPage, 'Deprecated')) {
209: if (hasTag(aPage, 'Obsolete')) {
228: if (hasTag(aPage, 'Obsolete')) {
kumascript/macros/CSSInfo.ejs
41: if (currentPage.hasTag(thisPage, "CSS Function")) {
43: } else if (currentPage.hasTag(thisPage, "CSS Data Type") ||
44: currentPage.hasTag(thisPage, "Element")) {
kumascript/macros/WebExtAPISidebar.ejs
5:var hasTag = page.hasTag;
60: if (hasTag(aPage, 'Experimental')) {
64: if (hasTag(aPage, 'Non-standard') || hasTag(aPage, 'Non Standard')) {
68: if (hasTag(aPage, 'Deprecated')) {
72: if (hasTag(aPage, 'Obsolete')) {
92: if (hasTag(aPage, 'Obsolete')) {
113: if (hasTag(subpage, "Property")) {
116: if (hasTag(subpage, "Method")) {
119: if (hasTag(subpage, "Type")) {
122: if (hasTag(subpage, "Event")) {
kumascript/macros/SubpagesWithSummaries.ejs
36: if (page.hasTag(termList[i], "Important")) {
50: if (!page.hasTag(aPage, "junk") && (aPage.title != "Index")) {
kumascript/macros/cssxref.ejs
63: if (page.hasTag(thisPage, "CSS Function") && !str.endsWith("()")) {
67: if (page.hasTag(thisPage, "CSS Data Type") && !/^<.+>$/.test(str)) {
kumascript/macros/ListSubpagesForSidebar.ejs
55:const containsTag = page.hasTag;
kumascript/macros/SVGRef.ejs
38: if (page.hasTag(aPage, foundTag)) {
kumascript/macros/CSSRef.ejs
758:const hasTag = page.hasTag;
762:const standardPages = pageList.filter(page => !hasTag(page, "Non-standard"));
834: if (hasTag(page, 'Experimental')) {
838: if (hasTag(page, 'Deprecated')) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment