1
0
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:
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) { if (o) {
callback(o.object); callback(o.object);
} else { } else {
callback(null); callback();
} }
}); });
}; };

View File

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