Skip to content

Commit

Permalink
Merge pull request #1670 from JoelNiemela/add-cfswitch-script-syntax-…
Browse files Browse the repository at this point in the history
…hint

Add script syntax hint for cfswitch
  • Loading branch information
pfreitag authored Oct 14, 2024
2 parents beb542a + 5982f58 commit f3b1cc9
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 f3b1cc9

Please sign in to comment.