Re: [w3c/push-api] Meta: address xref issue (PR #394)

@sidvishnoi commented on this pull request.



> @@ -996,8 +996,8 @@ <h2>
         creation of the {{ArrayBuffer}} object are re-thrown.
       </p>
       <p data-cite="encoding">
-        The <dfn>json()</dfn> method steps are to return the result of <a>parsing JSON bytes to a
-        JavaScript value</a> given [=this=]'s [=bytes=].
+        The <dfn>json()</dfn> method steps are to return the result of [=parse JSON bytes to a
+        JavaScript value|parsing JSON bytes to a JavaScript value=] given [=this=]'s [=bytes=].

This is based on [`textVariations`](https://github.com/speced/respec-web-services/blob/52c8d47f9545c9a25015f2fead6f3121abc10595/routes/xref/lib/utils.ts#L8) (based on Bikeshed itself, but maybe needs some updates now). It can only do these transformations at the end of string (if it was "do the parse", it could have become "do the parsing").
Not planning to support transformations at the start any time soon though.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/push-api/pull/394#discussion_r1856572401
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/push-api/pull/394/review/2458365253@github.com>

Received on Monday, 25 November 2024 12:57:12 UTC