Commit Graph

3 Commits (f89cf890df093dbb04649c2f88dffff49e74bd59)

Author SHA1 Message Date
lilia 1bb480f6ea DRY up a common view pattern
Define a Whisper.View base class that automatically parses and renders
templates and attributes defined by the subclass. This saves us a good
number of lines of code as well as some marginal memory overhead, since
we are no longer saving per-instance copies of template strings.
11 years ago
lilia 1311f7c9ae Fix attachment previews for audio/video files 11 years ago
lilia f73596c240 Add a view for attachment previews 11 years ago