Skip to content

Commit

Permalink
Fix #2242: Use {{undefined}} instead of <code>undefined</code> (#2246)
Browse files Browse the repository at this point in the history
Replaces `<code>undefined</code>` with `{{undefined}}` for
consistency.  This was done using a simple global search and replace.
  • Loading branch information
rtoy committed Sep 16, 2020
1 parent 2fed829 commit 908dcc7
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions index.bs
Expand Up @@ -1151,7 +1151,7 @@ Methods</h4>
{{BaseAudioContext/decodeAudioData(audioData, successCallback,
errorCallback)/audioData!!argument}}, using
[[mimesniff#matching-an-audio-or-video-type-pattern]]. If the audio or
video type pattern matching algorithm returns <code>undefined</code>,
video type pattern matching algorithm returns {{undefined}},
set <var>can decode</var> to <em>false</em>.

3. If <var>can decode</var> is <em>true</em>, attempt to decode the encoded
Expand Down Expand Up @@ -2421,7 +2421,7 @@ Methods</h4>
</pre>

<div>
<em>Return type:</em> <code>undefined</code>
<em>Return type:</em> {{undefined}}
</div>

: <dfn>copyToChannel(source, channelNumber, bufferOffset)</dfn>
Expand Down Expand Up @@ -2450,7 +2450,7 @@ Methods</h4>
</pre>

<div>
<em>Return type:</em> <code>undefined</code>
<em>Return type:</em> {{undefined}}
</div>

: <dfn>getChannelData(channel)</dfn>
Expand Down Expand Up @@ -3136,7 +3136,7 @@ Methods</h4>
</pre>

<div>
<em>Return type:</em> <code>undefined</code>
<em>Return type:</em> {{undefined}}
</div>

: <dfn>disconnect()</dfn>
Expand All @@ -3148,7 +3148,7 @@ Methods</h4>
<em>No parameters.</em>
</div>
<div>
<em>Return type:</em> <code>undefined</code>
<em>Return type:</em> {{undefined}}
</div>

: <dfn>disconnect(output)</dfn>
Expand All @@ -3163,7 +3163,7 @@ Methods</h4>
</pre>

<div>
<em>Return type:</em> <code>undefined</code>
<em>Return type:</em> {{undefined}}
</div>

: <dfn>disconnect(destinationNode)</dfn>
Expand All @@ -3176,7 +3176,7 @@ Methods</h4>
destinationNode: The <code>destinationNode</code> parameter is the {{AudioNode}} to disconnect. It disconnects all outgoing connections to the given <code>destinationNode</code>. <span class="synchronous">If there is no connection to the <code>destinationNode</code>, an {{InvalidAccessError}} exception MUST be thrown.</span>
</pre>
<div>
<em>Return type:</em> <code>undefined</code>
<em>Return type:</em> {{undefined}}
</div>

: <dfn>disconnect(destinationNode, output)</dfn>
Expand All @@ -3191,7 +3191,7 @@ Methods</h4>
</pre>

<div>
<em>Return type:</em> <code>undefined</code>
<em>Return type:</em> {{undefined}}
</div>

: <dfn>disconnect(destinationNode, output, input)</dfn>
Expand All @@ -3207,7 +3207,7 @@ Methods</h4>
</pre>

<div>
<em>Return type:</em> <code>undefined</code>
<em>Return type:</em> {{undefined}}
</div>

: <dfn>disconnect(destinationParam)</dfn>
Expand All @@ -3223,7 +3223,7 @@ Methods</h4>
destinationParam: The <code>destinationParam</code> parameter is the {{AudioParam}} to disconnect. <span class="synchronous">If there is no connection to the <code>destinationParam</code>, an {{InvalidAccessError}} exception MUST be thrown.</span>
</pre>
<div>
<em>Return type:</em> <code>undefined</code>
<em>Return type:</em> {{undefined}}
</div>

: <dfn>disconnect(destinationParam, output)</dfn>
Expand All @@ -3240,7 +3240,7 @@ Methods</h4>
output: The <code>output</code> parameter is an index describing which output of the {{AudioNode}} from which to disconnect. <span class="synchronous">If the <code>parameter</code> is out-of-bounds, an {{IndexSizeError}} exception MUST be thrown.</span>
</pre>
<div>
<em>Return type:</em> <code>undefined</code>
<em>Return type:</em> {{undefined}}
</div>
</dl>

Expand Down Expand Up @@ -4341,7 +4341,7 @@ Methods</h4>
</pre>

<div>
<em>Return type:</em> <code>undefined</code>
<em>Return type:</em> {{undefined}}
</div>

: <dfn>getByteTimeDomainData(array)</dfn>
Expand Down Expand Up @@ -4374,7 +4374,7 @@ Methods</h4>
</pre>

<div>
<em>Return type:</em> <code>undefined</code>
<em>Return type:</em> {{undefined}}
</div>

: <dfn>getFloatFrequencyData(array)</dfn>
Expand Down Expand Up @@ -4402,7 +4402,7 @@ Methods</h4>
</pre>

<div>
<em>Return type:</em> <code>undefined</code>
<em>Return type:</em> {{undefined}}
</div>

: <dfn>getFloatTimeDomainData(array)</dfn>
Expand All @@ -4422,7 +4422,7 @@ Methods</h4>
</pre>

<div>
<em>Return type:</em> <code>undefined</code>
<em>Return type:</em> {{undefined}}
</div>
</dl>

Expand Down Expand Up @@ -5574,7 +5574,7 @@ Methods</h4>
</pre>

<div>
<em>Return type:</em> <code>undefined</code>
<em>Return type:</em> {{undefined}}
</div>

: <dfn>setPosition(x, y, z)</dfn>
Expand Down Expand Up @@ -6064,7 +6064,7 @@ Methods</h4>
</pre>

<div>
<em>Return type:</em> <code>undefined</code>
<em>Return type:</em> {{undefined}}
</div>
</dl>

Expand Down Expand Up @@ -7729,7 +7729,7 @@ Methods</h4>
</pre>

<div>
<em>Return type:</em> <code>undefined</code>
<em>Return type:</em> {{undefined}}
</div>
</dl>

Expand Down Expand Up @@ -8352,7 +8352,7 @@ Methods</h4>
</pre>

<div>
<em>Return type:</em> <code>undefined</code>
<em>Return type:</em> {{undefined}}
</div>
</dl>

Expand Down Expand Up @@ -8887,7 +8887,7 @@ Methods</h4>
</pre>

<div>
<em>Return type:</em> <code>undefined</code>
<em>Return type:</em> {{undefined}}
</div>

: <dfn>setPosition(x, y, z)</dfn>
Expand Down Expand Up @@ -8921,7 +8921,7 @@ Methods</h4>
</pre>

<div>
<em>Return type:</em> <code>undefined</code>
<em>Return type:</em> {{undefined}}
</div>
</dl>

Expand Down Expand Up @@ -9883,7 +9883,7 @@ Methods</h5>
result of
<code><a href="http://www.ecma-international.org/ecma-262/6.0/#sec-get-o-p">Get</a>(O=<i>processorCtor</i>, P="parameterDescriptors")</code>.

1. If <var>parameterDescriptorsValue</var> is not <code>undefined</code>,
1. If <var>parameterDescriptorsValue</var> is not {{undefined}},
execute the following steps:

1. Let <var>parameterDescriptorSequence</var>
Expand Down Expand Up @@ -9952,7 +9952,7 @@ Methods</h5>
</pre>

<div>
<em>Return type:</em> <code>undefined</code>
<em>Return type:</em> {{undefined}}
</div>
</dl>

Expand Down Expand Up @@ -10504,7 +10504,7 @@ of {{AudioParamDescriptor}}s.
return value is provided from an implementation of
{{process()}}, the effect is identical to returning
<code>false</code> (since the effective return value is the falsy
value <code>undefined</code>). This is a reasonable behavior for
value {{undefined}}). This is a reasonable behavior for
any {{AudioWorkletProcessor}} that is active only when it has
active inputs.
</div>
Expand Down

0 comments on commit 908dcc7

Please sign in to comment.