diaspora/spec/javascripts/app
cmrd Senya 8e6df0b1e3
Comments expansion refactoring
If you look at comment expand process with javascript debugger, you
will notice that at first comments get added to existing stream ("add"
event handler of model.comments gets launched because of model.comments.fetch).
Then the comment stream gets empty and then filled by the postRenderTemplate
handler.

This patch removes comments rerendering on the expansion. The fetching process is
changed so that older comments are added to the correct place, so the order
looks nice without rerendering. Thus, unnecessary job of rerendering is avoided.
2016-08-12 22:06:51 +03:00
..
collections Refactor app.views.AspectMembership 2016-08-08 17:21:14 +03:00
helpers Refactor tileLayer creation 2016-08-10 11:30:48 +02:00
models Refactor app.views.AspectMembership 2016-08-08 17:21:14 +03:00
pages Refactor app.views.AspectMembership 2016-08-08 17:21:14 +03:00
views Comments expansion refactoring 2016-08-12 22:06:51 +03:00
app_spec.js Enable autosize for all textareas 2016-02-06 15:10:32 +01:00
router_spec.js Refactor app.views.AspectMembership 2016-08-08 17:21:14 +03:00
views_spec.js Fix views.js corner case 2016-08-08 17:18:20 +03:00