Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 827 Bytes

TODO.md

File metadata and controls

21 lines (19 loc) · 827 Bytes

TODO

  • remove unnecessary callback dynamics
  • stop using dicts to get around javascript's array behavior (assignments to indexes > len(x) autocreate undefined elements)
  • docs, of course
  • more tests (corner cases, negative cases, larger pages)
  • __slots__?
  • keep track of unresolved symbols and proffer a blank schema for introspection/convenience?
  • More robust URL helpers
  • Add log checking to tests

Notes

  • Javascript implicitly disregards extra arguments passed to a function, so a lot of dust.js's functions were weird to port. Especially so in the case of code generation. Example: the exists tag takes params, but they're pushed into the stack/context by the time the generated code runs. Nevertheless, the generated js passes them to the Chunk.exists() function, even though it doesn't take them.