mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-30 02:07:10 +01:00
The indexer hands a key that is the text of a number to the collection as
a number, so pageItems["-1"] and documents["1.5"] read as positions and gave
undefined, and "-1" in pageItems was false, even when getByName("-1") found
the object. pageItems and documents now take only array indices as
positions and look up any other number by its text as a name, giving
undefined when nothing has it. index(key) still takes a number as a
position.