lilia
e1c9e28b4c
Add comment
...
// FREEBIE
2015-10-01 10:55:04 -07:00
lilia
f764445c86
Remove erroneous license file and headers
...
We only use GPLV3 around here.
// FREEBIE
2015-09-07 14:58:42 -07:00
lilia
e402338af7
Make it easier to reference templates
...
Whisper.Views can now use templateName to reference the id of the
desired template.
2015-09-04 13:09:56 -07:00
lilia
5d9965a60e
Make all mustache templates available as partials
...
// FREEBIE
2015-09-03 13:22:52 -07:00
lilia
e2eff893d4
Fix 'Delete messages'
...
Replaces window.confirm with generic promise-based confirmation dialog
functionality available to all views.
// FREEBIE
2015-05-26 16:56:05 -07:00
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.
2015-03-23 14:01:18 -07:00
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.
2015-03-06 17:05:36 -08:00
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.
2015-03-05 15:36:35 -08:00