Skip to content

Commit

Permalink
Merge pull request #1923 from rtoy/1896-fix-waveshaper-constructor-algo
Browse files Browse the repository at this point in the history
Fix #1896: Fix WaveShaperNode constructor
  • Loading branch information
hoch committed May 22, 2019
2 parents 50432c1 + cefc9cf commit 602db5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.bs
Expand Up @@ -9388,7 +9388,7 @@ Constructors</h4>
<dl dfn-type=constructor dfn-for="WaveShaperNode">
: <dfn>WaveShaperNode(context, options)</dfn>
::
Let <var>node</var> be a new {{WaveShaperNode}} object. Initialize <var>node</var>. Set an internal boolean slot <dfn attribute for="WaveShaperNode">[[curve set]]</dfn>, and initialize it to false. Return <var>node</var>.
Let <var>node</var> be a new {{WaveShaperNode}} object, and let <dfn attribute for="WaveShaperNode">[[curve set]]</dfn> be an internal slot of the <var>node</var>, initialized to <code>false</code>. <a href="#audionode-constructor-init">Initialize</a> <var>node</var>. If {{WaveShaperNode/WaveShaperNode()/options!!argument}} is given and specifies a {{WaveShaperOptions/curve}}, set {{[[curve set]]}} to <code>true</code>. Return <var>node</var>.

<pre class=argumentdef for="WaveShaperNode/WaveShaperNode()">
context: The {{BaseAudioContext}} this new {{WaveShaperNode}} will be <a href="#associated">associated</a> with.
Expand Down

0 comments on commit 602db5b

Please sign in to comment.