Fixes #151.
Showing the changes to assets/javascripts/models (1 of 2 files). Show all
Unified · Split
| @@ -4,6 +4,7 @@ class app.models.Doc extends app.Model · 3 unmodified lines | ||
| 4 | 4 | constructor: -> |
| 5 | 5 | super |
| 6 | 6 | @reset @ |
| 7 | + @text = @name.toLowerCase() | |
| 7 | 8 | |
| 8 | 9 | reset: (data) -> |
| 9 | 10 | @resetEntries data.entries |