Closed asbates closed 4 years ago
Thanks for reporting this, @asbates. I agree that this error appears to be unintentional, i.e. the variable names allLists
and lists
should be consistent. This needs to be adjusted in pages.tex
and src/pages/sort-lists.js
. I'll make the fix today or tomorrow, unless you'd like to submit a PR? We'd acknowledge your contribution in the introduction of the book.
I can submit a PR for this.
In the 'Sortable Lists' section of the 'Manipulating Pages' chapter, there may be a typo.
In the first script chunk, should
lists
beallLists
, or vice versa?The second chunk for the script doesn't use
allLists
:Since there is discussion of what does/does not work between the first and second chunks (i.e.
.sorted
vs.#sorted
), I'm not sure if this is intentional. As in, isallLists
->lists
meant to be another bug of the first pass at a solution? If so, it might be worth adding to the text.