WICG / explicit-javascript-compile-hints-file-based

Creative Commons Attribution 4.0 International
5 stars 0 forks source link

Missing examples? #7

Closed miketaylr closed 1 month ago

miketaylr commented 1 month ago

It would be nice if there were an example or two in the intro (or elsewhere) that showed how a user might use this:

Something like the //# eagerCompilation=all comment in the explainer (presumably all is the only currently supported value today?)

marjakh commented 1 month ago

I added an example here: https://github.com/WICG/explicit-javascript-compile-hints-file-based/blob/main/README.md#introduction ; does that answer your question?

miketaylr commented 1 month ago

That's helpful! If you put that in the draft spec that would also be cool. 😸