Damien Elmes
3d370f675b
restore the deletion log
...
the initial plan was to zero the creation time and leave the cards/facts there
until we have a chance to garbage collect them on a schema change, but such an
approach won't work with deck subscriptions
2011-05-04 19:00:38 +09:00
Damien Elmes
974324e3dd
add unit test for order
2011-04-28 09:24:04 +09:00
Damien Elmes
13a484ea36
allow user to abort schema mod
2011-04-28 09:24:02 +09:00
Damien Elmes
1d91e459ec
wrap the q/a in the card template div
2011-04-28 09:23:57 +09:00
Damien Elmes
9d52196949
add a bgclass helper func
2011-04-28 09:23:57 +09:00
Damien Elmes
31a548ee42
add a dirty flag
...
when we make changes that need to be cleaned up on exit, we mark the deck
dirty so that if we exit without saving, we can clean up on next open
2011-04-28 09:23:57 +09:00
Damien Elmes
ccc325f87b
remove utcOffset; make it a property of crt instead
2011-04-28 09:23:56 +09:00
Damien Elmes
f9c3b27e5d
give facts a group, so that cards can have their group reset if necessary
2011-04-28 09:23:55 +09:00
Damien Elmes
e728d49232
delete -> del for consistency
2011-04-28 09:23:55 +09:00
Damien Elmes
1dc3a0ad4a
make sure revlog is removed on immediate delete
2011-04-28 09:23:55 +09:00
Damien Elmes
f96a495b53
fact.model -> fact.model()
2011-04-28 09:23:54 +09:00
Damien Elmes
870c80e076
add genCards(), previewCards(), and more unit tests
2011-04-28 09:23:54 +09:00