Skip to content

Commit

Permalink
Add script syntax hint for cfswitch
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelNiemela committed Sep 27, 2024
1 parent 4708882 commit 5982f58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data/en/cfswitch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name":"cfswitch",
"type":"tag",
"syntax":"<cfswitch expression=\"\">",
"script":"switch (expression) { }",
"related":["cfcase","cfdefaultcase"],
"description":"Evaluates a passed expression and passes control to the cfcase tag that matches the expression result. You can, optionally, code a cfdefaultcase tag, which receives control if there is no matching cfcase tag value. Note the difference in the tag and script syntax when providing multiple values for a case.",
"params": [
Expand Down

0 comments on commit 5982f58

Please sign in to comment.