removed return nul in lawnchair dao

This commit is contained in:
Tankred Hase 2013-08-23 16:47:36 +02:00
parent d944c00aa8
commit fbbed90e62
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ define(['lawnchair', 'lawnchairSQL', 'lawnchairIDB'], function(Lawnchair) {
if (o) {
callback(o.object);
} else {
callback(null);
callback();
}
});
};

View File

@ -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();
});