lilia
e1c9e28b4c
Add comment
...
// FREEBIE
10 years ago
lilia
f764445c86
Remove erroneous license file and headers
...
We only use GPLV3 around here.
// FREEBIE
10 years ago
lilia
e402338af7
Make it easier to reference templates
...
Whisper.Views can now use templateName to reference the id of the
desired template.
10 years ago
lilia
5d9965a60e
Make all mustache templates available as partials
...
// FREEBIE
10 years ago
lilia
e2eff893d4
Fix 'Delete messages'
...
Replaces window.confirm with generic promise-based confirmation dialog
functionality available to all views.
// FREEBIE
10 years ago
lilia
20baa795ad
Fixes #198 Squished avatars
...
Refactor all avatar views to use a shared partial, then change it to a
background image. Requires allowing unsafe-inline styles in the CSP.
10 years ago
lilia
1321a90667
Rename Whisper.View#attributes
...
Avoid colliding with Backbone.View attributes, which is a list of attrs
to set on the html element for a view.
10 years ago
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.
10 years ago