Skip to content

Fix #2359: Fix typo in VUMeterNode #2360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 26, 2021

Conversation

rtoy
Copy link
Member

@rtoy rtoy commented Jun 25, 2021

The typo is marked as a candidate correction, and linked to #2359 for
easy tracking. The id is "c2359" where "c" stands for "correction",
and "2359" is the corresponding V1 issue number. This makes it easy
to create unique ids for the links necessary for the correction.


Preview | Diff

</span>
Fix typo in code; semi-colon is incorrect.
</div>
<pre line-numbers class="example" highlight="js" title="VUMeterNode - Global Scope (vumeternode.js)">
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needed to change xmp to pre so that the del markup works to show what was deleted.

index.bs Outdated
@@ -58,6 +58,7 @@ spec:webidl; type:interface; text:Promise
<link rel="preload" href="https://www.w3.org/scripts/MathJax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js?rev=2.7.5" as="script">
<link rel="preload" href="https://www.w3.org/scripts/MathJax/2.7.5/jax/element/mml/optable/BasicLatin.js?rev=2.7.5" as="script">
<link rel="preload" href="https://www.w3.org/scripts/MathJax/2.7.5/jax/output/HTML-CSS/autoload/mtable.js?rev=2.7.5" as="script">
<script src="//www.w3.org/scripts/TR/2016/fixup.js" type="application/javascript"></script>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the right place to get fixup.js?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious - why do we need fixup.js? Can you point me to the discussion?

@rtoy rtoy requested review from hoch, padenot and svgeesus June 25, 2021 21:02
@rtoy
Copy link
Member Author

rtoy commented Jun 25, 2021

See also https://github.com/WebAudio/web-audio-api/wiki/UpdatingLivingStandard for the approach I've taken here.

We will probably want to discuss that page at the next meeting to see if this is really how we want to do this.

@rtoy rtoy mentioned this pull request Jun 28, 2021
Copy link
Member

@hoch hoch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

index.bs Outdated
@@ -12969,3 +12976,4 @@ Wei, James (Intel Corporation);
Weitnauer, Michael (IRT);
Wilson, Chris (Google,Inc);
Zergaoui, Mohamed (INNOVIMAX)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Is this empty line needed?

index.bs Outdated
@@ -58,6 +58,7 @@ spec:webidl; type:interface; text:Promise
<link rel="preload" href="https://www.w3.org/scripts/MathJax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js?rev=2.7.5" as="script">
<link rel="preload" href="https://www.w3.org/scripts/MathJax/2.7.5/jax/element/mml/optable/BasicLatin.js?rev=2.7.5" as="script">
<link rel="preload" href="https://www.w3.org/scripts/MathJax/2.7.5/jax/output/HTML-CSS/autoload/mtable.js?rev=2.7.5" as="script">
<script src="//www.w3.org/scripts/TR/2016/fixup.js" type="application/javascript"></script>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious - why do we need fixup.js? Can you point me to the discussion?

@rtoy
Copy link
Member Author

rtoy commented Jun 29, 2021

fixup.js was needed because that's how the candidate corrections/additions are styled.

However, I just found out that we don't need to include this anymore; bikeshed automatically adds this now.

@rtoy
Copy link
Member Author

rtoy commented Jun 29, 2021

"get a reference to the buffer source" appears to be gone. I'll have to figure out what happened between yesterday and today, but I can reproduce this locally and I had updated bikeshed just a bit before.

@rtoy
Copy link
Member Author

rtoy commented Jun 29, 2021

The updated bikeshed has the new WebIDL buffer primitives mentioned in #2361.

This PR should probably be landed after #2363.

@svgeesus
Copy link
Contributor

svgeesus commented Jul 2, 2021

These candidate corrections should all be listed in a new "Changes since the Recommendation of 17 June 2021" section, which also makes it easy to find them. (This is a general comment, nt a blocker on this specific fix)

Copy link
Contributor

@svgeesus svgeesus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Raymond Toy and others added 3 commits August 26, 2021 13:58
The typo is marked as a candidate correction, and linked to WebAudio#2359 for
easy tracking.  The id is "c2359" where "c" stands for "correction",
and "2359" is the corresponding V1 issue number.  This makes it easy
to create unique ids for the links necessary for the correction.
* Bikeshed seems to include fixup.js now, so we don't need to do it ourselves.
* Remove unneeded blank line
@padenot padenot force-pushed the 2359-fix-typo-vumeter-example branch from cd5d1b0 to 0e1565b Compare August 26, 2021 12:06
@padenot
Copy link
Member

padenot commented Aug 26, 2021

I've added the bits @svgeesus talks about, this is good for merging.

@hoch hoch merged commit 207d52d into WebAudio:main Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants