Repository navigation
Correct comments and a reference that misstate the code, and drop two dead pieces - #6723
Merged
Merged
Conversation
… dead pieces module-reading.md named the depth dial as a viewDocument reader; #6642 scoped lf-dial to its parent. todos.py and _todo_error still said a to-do needs a live widget; #6641 made widget_seat_error accept any widget the newest revision declares. The floating panel's band comment said the band follows the shelf's tallest picture; the rule reserves --lf-media-h plus its gaps. obligations/view.js sent readers to a version.js passage that no longer exists (carry.js owns the rule), and rendering.js cited scripts/leaf/render_checks.py, which is src/leaf/render_checks.py. page-inspection.js rendered a loading line in a branch the early return already rules out, handOver took a target it never read, and projection/authored.js said its header twice.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Several comments and one shipped reference describe code that has since changed. This corrects them and removes two pieces of dead code. Behavior is unchanged, apart from one shipped sentence that no longer points package authors at the wrong pattern.
skills/leaf/references/module-reading.mdgave the depth dial as an example of a widget that reads its document withviewDocument(node). Let Skim fold an aside: the dial governs the element it stands in #6642 scopedlf-dialtothis.parentElementand dropped that import, so a package author copying the dial from this sentence got the scope the dial stopped using. The contents list (toc-view.js) is now the only example, and it is the only caller.src/leaf/todos.pyand_todo_errorinevent_contracts.pysaid a to-do needs a live widget. Since Declare once per code whether a finding refuses, and name what each refusal keeps #6641,work.widget_seat_erroraccepts any widget the newest revision declares.browser/styles/floating-panel.css: the band comment said the band is the shelf's tallest picture plus its gaps. The rule reserves the most a picture may take,--lf-media-h(tokens.css), plus a gap on each side, as Stand a pasted picture in a band above the box while a thread is open #6686's own description says.browser/runtime/obligations/view.jssent readers to a passage inversion.js's header that no longer exists.carry.jsowns that rule now ("Other unnamed elements and changed tags carry nothing"), and the comment states the failure inline.browser/runtime/rendering.jscitedscripts/leaf/render_checks.py. The file issrc/leaf/render_checks.py.page-inspection.jsrendered a "Reading source…" line in a branch that the earlyreturnabove it already rules out;handOverinthread/replies.jstook atargetargument it never read; andprojection/authored.jsstated its header paragraph twice.The browser type check (
tsc --project browser/types/tsconfig.json) passes. These are comment and dead-code changes with no behavior to pin, so there's no regression test.