mirror of
https://github.com/moparisthebest/mail
synced 2025-01-09 04:28:16 -05:00
removed return nul in lawnchair dao
This commit is contained in:
parent
d944c00aa8
commit
fbbed90e62
@ -46,7 +46,7 @@ define(['lawnchair', 'lawnchairSQL', 'lawnchairIDB'], function(Lawnchair) {
|
||||
if (o) {
|
||||
callback(o.object);
|
||||
} else {
|
||||
callback(null);
|
||||
callback();
|
||||
}
|
||||
});
|
||||
};
|
||||
|
@ -53,7 +53,7 @@ define(['js/dao/lawnchair-dao'], function(jsonDao) {
|
||||
|
||||
// should read empty
|
||||
jsonDao.read(key, function(lastRead) {
|
||||
equal(lastRead, null, 'Delete');
|
||||
equal(lastRead, undefined, 'Delete');
|
||||
|
||||
start();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user