mirror of
https://github.com/moparisthebest/mail
synced 2025-01-09 12:38:03 -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) {
|
if (o) {
|
||||||
callback(o.object);
|
callback(o.object);
|
||||||
} else {
|
} else {
|
||||||
callback(null);
|
callback();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -53,7 +53,7 @@ define(['js/dao/lawnchair-dao'], function(jsonDao) {
|
|||||||
|
|
||||||
// should read empty
|
// should read empty
|
||||||
jsonDao.read(key, function(lastRead) {
|
jsonDao.read(key, function(lastRead) {
|
||||||
equal(lastRead, null, 'Delete');
|
equal(lastRead, undefined, 'Delete');
|
||||||
|
|
||||||
start();
|
start();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user