Closed siusin closed 6 years ago
@siusin awesome work! On a first pass, this looks good.
Re, sendBeacon warning: @marcoscaceres any tips on this one? Preview: https://cdn.rawgit.com/siusin/beacon/97428ec4a08aafce48ff698caf5e6c2ea8e9628d/index.html
Just noting that I'm aware that having to add data-dfn-for="Navigator" data-dfn-for="Navigator"
is very annoying (as a spec Editor, I too feel this pain).
I will teach ReSpec to add those automatically in the future - and then only yell when there is ambiguity.
As always, I appreciate feedback to make the tool easier to use - and, as ReSpec is open source, contributions from the community are very much welcome.
@marcoscaceres thanks for the tips!
We got a few unexpected warning messages after the update --
Found linkless element with text 'sendbeacon' but no matching
<dfn>
We are using <a>sendBeacon</a>
to link to the method, any thoughts?
having a look
Ok, generally you wouldn't do this, but as this spec is only about one method:
Change body to:
<body data-link-for="Navigator">
Change the sendBeacon dfn
to:
<h3><code><dfn>sendBeacon()</dfn></code> Method</h3>
And then, do a find a replace, and change all:
<a>sendBeacon</a>
to:
<a>sendBeacon()</a>
Noting, "data-link-for" is telling ReSpec, "if you can't find a xref for something, it's probably something on Navigator".
(if it gives you any more grief, please feel free to merge and I can take over any last remaining issues... but testing the above locally, it works). You can grab it from here:
https://gist.github.com/marcoscaceres/0e8c12ab51d1ae817f98878fe478b896
oh, yeah 🥓 🥓 🥓 🥓!
Yeah, everything works perfectly now ;)
@marcoscaceres ++
you might want to give that a:
tidy -config tidyconfig.txt -o index.html index.html
Sure, will fix the bugs reported by HTML Tidy later.
@marcoscaceres @siusin \o/ .. thanks for the great work on this one!
Left one nitpick on "referrer source" discussion, but we can also take that one as a separate update. @siusin I'll defer to you.
@siusin @marcoscaceres thanks (again) to both of you for the great work on this!
To fix #47 .
I failed to find a good way to fix the warning,
The suggestion in the warning dialog doesn't work out.
Preview | Diff