Skip to content

Commit

Permalink
Change syntax for enums and add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewarlow committed Jun 13, 2024
1 parent 94aafa9 commit 2661aa2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1452,13 +1452,15 @@ spec: WebRTC; urlPrefix: https://www.w3.org/TR/webrtc/
returns normally if string compilation is allowed, and throws an "`EvalError`"
if not:

1. If |compilationType| is `*TIMER*`, then:
1. If |compilationType| is timer, then:
<!-- timer is an enum value. -->

1. Let |sourceString| be |codeString|.

1. Else:

1. Let |compilationSink| be `"Function"` if |compilationType| is `*FUNCTION*`, otherwise `"Eval"`.
1. Let |compilationSink| be `"Function"` if |compilationType| is function, otherwise `"Eval"`.
<!-- function is an enum value. -->

1. Let |isTrusted| be `true`.

Expand Down

0 comments on commit 2661aa2

Please sign in to comment.