travis-web/assets/scripts
Piotr Sarnacki c05ce673bf Load incomplete records when trying to get unknown attribute
In order to minimize ajax requests, I implemented isComplete property,
which can be used to check if record is fetched from the API or if it
was just partially loaded (for example by pusher event). This is nice in
terms of requests reduction, but caries risk of showing incomplete data.

This commit fixes this situation by saving which attributes were
provided on "incomplete" load and triggering refresh when any unknown
attribute is tried to be fetched.

The implementation is really simple and will probably need refactoring,
but I would like to test it in the wild before putting much more time
into it.
2012-10-16 03:05:38 +02:00
..
app Load incomplete records when trying to get unknown attribute 2012-10-16 03:05:38 +02:00
config fuck yeah, flash messages 2012-10-09 15:16:54 +02:00
data Use Travis Pro in sponsors info 2012-10-08 17:12:39 +02:00
lib Load incomplete records when trying to get unknown attribute 2012-10-16 03:05:38 +02:00
spec Fix specs 2012-10-15 23:20:33 +02:00
vendor improvements to the asset pipeline thanks to @twinturbo 2012-10-05 21:58:20 +02:00
travis.coffee Use localStorage instead of cookies 2012-10-10 22:42:28 +02:00