Skip to content

Commit 63ff285

Browse files
committed
Address WebAudio#2185: Fix some bikeshed errors
Fixing links to parameters to the constructor. Basically, we previously had something like ``` {{PeriodicWave/PeriodicWave(context, options)/options!!argument}} ``` and replace it with ``` {{PeriodicWave/constructor(context, options)/options!!argument}} ```
1 parent 0a3ea91 commit 63ff285

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9031,7 +9031,7 @@ Constructors</h4>
90319031
<div algorithm="construct periodic wave">
90329032
1. Let <var>p</var> be a new {{PeriodicWave}} object. Let <dfn attribute for="PeriodicWave">\[[real]]</dfn> and <dfn attribute for="PeriodicWave">\[[imag]]</dfn> be two internal slots of type {{Float32Array}}, and let <dfn attribute for="PeriodicWave">\[[normalize]]</dfn> be an internal slot.
90339033

9034-
1. Process {{PeriodicWave/PeriodicWave(context, options)/options!!argument}} according to one of the following cases:
9034+
1. Process {{PeriodicWave/constructor(context, options)/options!!argument}} according to one of the following cases:
90359035
1. If both {{PeriodicWaveOptions/real|options.real}} and {{PeriodicWaveOptions/imag|options.imag}} are present
90369036
1. <span class="synchronous">If the lengths of {{PeriodicWaveOptions/real|options.real}} and {{PeriodicWaveOptions/imag|options.imag}} are different or if either length is less than 2, throw an {{IndexSizeError}} and abort this algorithm.</span>
90379037
1. Set {{[[real]]}} and {{[[imag]]}} to new arrays with the same length as {{PeriodicWaveOptions/real|options.real}}.

0 commit comments

Comments
 (0)