travis-web/assets/scripts/app/templates
Piotr Sarnacki 27fe85989a Make rendering long logs faster when rendering huge chunks at once
After change log rendering method, to append HTML elements instead of
rerendering the entire thing, the case of gradual rendering of a log
started to behave much better (because we just append new elements), but
the initial render took a bit longer, because of the fact that appending
large separate HTML elements to DOM at once is not a good idea.

In order to make the situation better I added simple optimization.
Elements are added to DocumentFragment node before inserting to DOM and
appended to DOM only after all elements are processed. That way, when
log needs to be rendered all at once, we will not do any DOM operations
until log is ready.
2012-12-05 21:29:41 +01:00
..
auth Move afterSignIn to auth Route 2012-10-18 03:28:29 +02:00
builds Fix build link when updating builds through pusher 2012-10-28 23:43:16 +01:00
events stashing some work on the events log 2012-10-16 22:46:10 +02:00
jobs Make rendering long logs faster when rendering huge chunks at once 2012-12-05 21:29:41 +01:00
layouts localize top menu links 2012-11-22 16:23:52 +01:00
profile Don't allow to change hook's state while it's saving 2012-11-28 20:11:01 +01:00
queues Slightly better implementation of showAll for jobs in queues 2012-11-28 00:26:37 +01:00
repos Add regenerate key option in repo view 2012-12-05 01:59:03 +01:00
sponsors extract paths in Assetfile; rename javascripts to scripts, stylesheets to styles 2012-10-03 17:13:02 +02:00
stats Show message on stats page 2012-10-10 16:47:22 +02:00
workers Don't require loading repos when dislaying queues and workers 2012-11-27 22:36:15 +01:00
.gitkeep extract paths in Assetfile; rename javascripts to scripts, stylesheets to styles 2012-10-03 17:13:02 +02:00