Skip to content

Commit df571e8

Browse files
committed
Wrap specification with fixed wrapper
1 parent 8b19764 commit df571e8

File tree

1 file changed

+30
-29
lines changed

1 file changed

+30
-29
lines changed

spec.bs

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,8 @@ observable.subscribe({}, {signal: outerController.signal});
304304

305305
1. Set |subscriber|'s [=Subscriber/active=] boolean to false.
306306

307-
1. [=AbortSignal/Signal abort=] |subscriber|'s [=Subscriber/subscription controller=]
308-
with |reason|, if it is given.
307+
1. [=AbortSignal/Signal abort=] |subscriber|'s [=Subscriber/subscription controller=] with
308+
|reason|, if it is given.
309309

310310
1. [=list/For each=] |teardown| of |subscriber|'s [=Subscriber/teardown callbacks=] sorted in
311311
reverse insertion order:
@@ -496,7 +496,7 @@ An <dfn>internal observer</dfn> is a [=struct=] with the following [=struct/item
496496
throws. [$GetMethod$] lets us ONLY throw in the latter case.
497497

498498
1. If |asyncIteratorMethod|'s is undefined or null, then jump to the step labeled <a
499-
href=#from-iterable-conversion>From iterable</a>.
499+
href=#from-iterable-conversion>From iterable</a>.
500500

501501
1. Let |nextAlgorithm| be the following steps, given a {{Subscriber}} |subscriber| and an
502502
[=Iterator Record=] |iteratorRecord|:
@@ -685,7 +685,7 @@ An <dfn>internal observer</dfn> is a [=struct=] with the following [=struct/item
685685
<dl class="switch">
686686
<dt>If |observer| is an {{ObservableSubscriptionCallback}}</dt>
687687
<dd>Set |internal observer|'s [=internal observer/next steps=] to these steps that take
688-
an {{any}} |value|:
688+
an {{any}} |value|:
689689

690690
1. [=Invoke=] |observer| with |value|.
691691

@@ -695,18 +695,18 @@ An <dfn>internal observer</dfn> is a [=struct=] with the following [=struct/item
695695

696696
<dt>If |observer| is a {{SubscriptionObserver}}</dt>
697697
<dd>
698-
1. If |observer|'s {{SubscriptionObserver/next}} [=map/exists=], then set
699-
|internal observer|'s [=internal observer/next steps=] to these steps that take an
700-
{{any}} |value|:
698+
1. If |observer|'s {{SubscriptionObserver/next}} [=map/exists=], then set |internal
699+
observer|'s [=internal observer/next steps=] to these steps that take an {{any}}
700+
|value|:
701701

702702
1. [=Invoke=] |observer|'s {{SubscriptionObserver/next}} with |value|.
703703

704704
If <a spec=webidl lt="an exception was thrown">an exception |E| was thrown</a>,
705705
then [=report the exception=] |E|.
706706

707-
1. If |observer|'s {{SubscriptionObserver/error}} [=map/exists=], then set
708-
|internal observer|'s [=internal observer/error steps=] to these steps that take
709-
an {{any}} |error|:
707+
1. If |observer|'s {{SubscriptionObserver/error}} [=map/exists=], then set |internal
708+
observer|'s [=internal observer/error steps=] to these steps that take an {{any}}
709+
|error|:
710710

711711
1. [=Invoke=] |observer|'s {{SubscriptionObserver/error}} with |error|.
712712

@@ -1329,17 +1329,17 @@ For now, see
13291329
1. If {{ObservableInspector/subscribe}} [=map/exists=] in |inspectorUnion|, then set
13301330
|subscribe callback| to it.
13311331

1332-
1. If {{ObservableInspector/next}} [=map/exists=] in |inspectorUnion|, then set
1333-
|next callback| to it.
1332+
1. If {{ObservableInspector/next}} [=map/exists=] in |inspectorUnion|, then set |next
1333+
callback| to it.
13341334

1335-
1. If {{ObservableInspector/error}} [=map/exists=] in |inspectorUnion|, then set
1336-
|error callback| to it.
1335+
1. If {{ObservableInspector/error}} [=map/exists=] in |inspectorUnion|, then set |error
1336+
callback| to it.
13371337

13381338
1. If {{ObservableInspector/complete}} [=map/exists=] in |inspectorUnion|, then set
13391339
|complete callback| to it.
13401340

1341-
1. If {{ObservableInspector/abort}} [=map/exists=] in |inspectorUnion|, then set
1342-
|abort callback| to it.
1341+
1. If {{ObservableInspector/abort}} [=map/exists=] in |inspectorUnion|, then set |abort
1342+
callback| to it.
13431343
</dd>
13441344
</dl>
13451345

@@ -1589,8 +1589,8 @@ For now, see
15891589

15901590
1. If |internal options|'s {{SubscribeOptions/signal}} is [=AbortSignal/aborted=], then:
15911591

1592-
1. [=Reject=] |p| with |internal options|'s {{SubscribeOptions/signal}}'s
1593-
[=AbortSignal/abort reason=].
1592+
1. [=Reject=] |p| with |internal options|'s {{SubscribeOptions/signal}}'s [=AbortSignal/abort
1593+
reason=].
15941594

15951595
1. Return |p|.
15961596

@@ -1650,8 +1650,8 @@ For now, see
16501650

16511651
1. If |internal options|'s {{SubscribeOptions/signal}} is [=AbortSignal/aborted=], then:
16521652

1653-
1. [=Reject=] |p| with |internal options|'s {{SubscribeOptions/signal}}'s
1654-
[=AbortSignal/abort reason=].
1653+
1. [=Reject=] |p| with |internal options|'s {{SubscribeOptions/signal}}'s [=AbortSignal/abort
1654+
reason=].
16551655

16561656
1. Return |p|.
16571657

@@ -1703,8 +1703,8 @@ For now, see
17031703

17041704
1. If |internal options|'s {{SubscribeOptions/signal}} is [=AbortSignal/aborted=], then:
17051705

1706-
1. [=Reject=] |p| with |internal options|'s {{SubscribeOptions/signal}}'s
1707-
[=AbortSignal/abort reason=].
1706+
1. [=Reject=] |p| with |internal options|'s {{SubscribeOptions/signal}}'s [=AbortSignal/abort
1707+
reason=].
17081708

17091709
1. Return |p|.
17101710

@@ -1798,8 +1798,8 @@ For now, see
17981798

17991799
1. If |internal options|'s {{SubscribeOptions/signal}} is [=AbortSignal/aborted=], then:
18001800

1801-
1. [=Reject=] |p| with |internal options|'s {{SubscribeOptions/signal}}'s
1802-
[=AbortSignal/abort reason=].
1801+
1. [=Reject=] |p| with |internal options|'s {{SubscribeOptions/signal}}'s [=AbortSignal/abort
1802+
reason=].
18031803

18041804
1. Return |p|.
18051805

@@ -1851,8 +1851,8 @@ For now, see
18511851

18521852
1. If |internal options|'s {{SubscribeOptions/signal}} is [=AbortSignal/aborted=], then:
18531853

1854-
1. [=Reject=] |p| with |internal options|'s {{SubscribeOptions/signal}}'s
1855-
[=AbortSignal/abort reason=].
1854+
1. [=Reject=] |p| with |internal options|'s {{SubscribeOptions/signal}}'s [=AbortSignal/abort
1855+
reason=].
18561856

18571857
1. Return |p|.
18581858

@@ -1905,8 +1905,8 @@ For now, see
19051905

19061906
1. If |internal options|'s {{SubscribeOptions/signal}} is [=AbortSignal/aborted=], then:
19071907

1908-
1. [=Reject=] |p| with |internal options|'s {{SubscribeOptions/signal}}'s
1909-
[=AbortSignal/abort reason=].
1908+
1. [=Reject=] |p| with |internal options|'s {{SubscribeOptions/signal}}'s [=AbortSignal/abort
1909+
reason=].
19101910

19111911
1. Return |p|.
19121912

@@ -2041,7 +2041,8 @@ partial interface EventTarget {
20412041
This material is being upstreamed from our explainer into this specification, and in the meantime
20422042
you can consult the following resources:
20432043

2044-
* [TAG Security/Privacy Questionnaire](https://github.com/WICG/observable/blob/master/security-privacy-questionnaire.md)
2044+
* [TAG Security/Privacy
2045+
Questionnaire](https://github.com/WICG/observable/blob/master/security-privacy-questionnaire.md)
20452046

20462047
<h2 id=acks>Acknowledgements</h2>
20472048

0 commit comments

Comments
 (0)