Skip to content
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

dynamically add copyable step numbers #290

Merged
merged 2 commits into from
Feb 16, 2021
Merged

dynamically add copyable step numbers #290

merged 2 commits into from
Feb 16, 2021

Conversation

bakkot
Copy link
Contributor

@bakkot bakkot commented Feb 12, 2021

As an alternative to #289, this PR tries to repair the regular copy-paste functionality. From discussion with the other ecma262 editors, we generally prefer this route: in particular the usual case is that you want to copy exactly one line, by triple-clicking it, and this serves that use-case better and without any new UI elements.

I'd originally done this during the build rather than at runtime, but that turns out to make the rendered ecma262 spec 10% (600kb) larger. This seems better. It doesn't seem to noticeably affect time-to-interactive on the browsers I tested on.

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.

3 participants