Skip to content

Commit e43fb83

Browse files
authored
Merge pull request #124 from tidoust/fix-switch
Editorial: fix "switch" clause wrapping
2 parents 6832973 + eab037d commit e43fb83

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

api.bs

+7-7
Original file line numberDiff line numberDiff line change
@@ -978,14 +978,14 @@ and <a dictionary lt=PrivateAttributionConversionOptions>|options|</a>:
978978
1. Validate the page-supplied API inputs:
979979
1. Switch on the value of <a dict-member for=PrivateAttributionConversionOptions>logic</a>:
980980
<dl class="switch">
981+
: <a enum-value for=PrivateAttributionLogic>"last-touch"</a>
982+
:: Perform the following steps:
983+
1. If <a dict-member for=PrivateAttributionConversionOptions>value</a> is 0,
984+
throw a {{RangeError}}.
985+
1. If <a dict-member for=PrivateAttributionConversionOptions>value</a>
986+
is greater than <a dict-member for=PrivateAttributionConversionOptions>maxValue</a>,
987+
throw a {{RangeError}}.
981988
</dl>
982-
: <a enum-value for=PrivateAttributionLogic>"last-touch"</a>
983-
:: Perform the following steps:
984-
1. If <a dict-member for=PrivateAttributionConversionOptions>value</a> is 0,
985-
throw a {{RangeError}}.
986-
1. If <a dict-member for=PrivateAttributionConversionOptions>value</a>
987-
is greater than <a dict-member for=PrivateAttributionConversionOptions>maxValue</a>,
988-
throw a {{RangeError}}.
989989
1. If |options|.{{PrivateAttributionConversionOptions/lookbackDays}} is 0,
990990
throw a {{RangeError}}.
991991
1. Let |report| be an [=create an all-zero histogram|all-zero histogram=].

0 commit comments

Comments
 (0)