Skip to content

Commit 702ed30

Browse files
fix examples' prefixes (#232)
1 parent 6e9dd1f commit 702ed30

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎views/pages/index_examples_list.ejs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<% group.Examples.forEach(function(example) { %>
1414
<% if (!example.SkipForLanguages || !example.SkipForLanguages.includes("node")) { %>
1515
<% if (api.Name.toLowerCase() !== "esignature" || ((example.CFREnabled == "AllAccounts") || ((locals.statusCFR == "enabled") && (example.CFREnabled == "CFROnly")) || ((locals.statusCFR != "enabled") && (example.CFREnabled == "NonCFR")))) { %>
16-
<% var apiPrefix = api.Name == "Admin" ? "a"
16+
<% var apiPrefix = api.Name == "Admin" ? "aeg"
1717
: api.Name == "Click" ? "ceg"
1818
: api.Name == "Monitor" ? "meg"
1919
: api.Name == "Rooms" ? "reg"
@@ -24,13 +24,13 @@
2424
: api.Name == "Navigator" ? "nav"
2525
: api.Name == "Maestro" ? "mae"
2626
: api.Name == "Workspaces" ? "work"
27-
: ""; %>
27+
: "eg"; %>
2828
2929
<h4
3030
id=<%= `${apiPrefix}example`.concat("0".repeat(3 - example.ExampleNumber.toString().length)).concat(example.ExampleNumber) %>
3131
>
3232
<a
33-
href=<%=`${apiPrefix}eg`.concat("0".repeat(3 - example.ExampleNumber.toString().length)).concat(example.ExampleNumber) %>>
33+
href=<%=`${apiPrefix}`.concat("0".repeat(3 - example.ExampleNumber.toString().length)).concat(example.ExampleNumber) %>>
3434
<%= example.ExampleName %>
3535
</a>
3636
</h4>

0 commit comments

Comments
 (0)