Commit Graph

8 Commits

Author SHA1 Message Date
Geoff Schmidt
d052ca4b20 clean up azrael example 2011-12-19 17:03:26 -08:00
Geoff Schmidt
fabfa902bf renderList reimplemented for documentfragments.
there may be bugs. leaderboard works though
2011-12-19 17:03:26 -08:00
Geoff Schmidt
7cfdfcf0b9 DocumentFragment-based rendering, with GC, draft
leaderboard works
2011-12-19 17:03:26 -08:00
Geoff Schmidt
c13415b818 invalidations accumulate until flushed (or the event loop runs again)
this way, when you use find instead of findLive, liveui doesn't do O(n^2) work when a subscription returns n records (it used to, because it'd render the list with 1 element, then with 2, …, then with n)

flush guarantees that all changes have been committed to the DOM, for your jquerying pleasure

experimental - needs docs
2011-12-19 16:39:28 -08:00
Geoff Schmidt
5d172d0ded rename renderlist 'query' option to 'selector'
for consistency with other APIs
2011-12-09 23:37:50 -08:00
Geoff Schmidt
8543df9649 use Sky.startup in todos 2011-12-09 13:14:01 -08:00
Geoff Schmidt
24692a60f5 rationalize underscore usage slightly 2011-12-08 16:28:47 -08:00
Geoff Schmidt
0599d5198c move examples into main repo 2011-12-07 21:22:47 -08:00