Skip to content

Commit 1fbdd81

Browse files
author
Erwin Dondorp
committed
added warning about named groups, which are only introduced in ES9/2018
1 parent 64e81b9 commit 1fbdd81

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

saltgui/static/scripts/output/OutputDocumentation.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,10 +261,12 @@ export class OutputDocumentation {
261261

262262
// replace ``......``
263263
// e.g. in "sys.doc state.apply"
264+
// named groups are only introduced in ES9/2018
264265
out = out.replace(/``([^`]*)``/g, "<span style='background-color: #575757'>$1</span>");
265266

266267
// replace `......`
267268
// e.g. in "sys.doc state.apply"
269+
// named groups are only introduced in ES9/2018
268270
out = out.replace(/`([^`]*)`/g, "<span style='color: yellow'>$1</span>");
269271

270272
// remove whitespace at end of lines

0 commit comments

Comments
 (0)