1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-30 04:42:15 -05:00

update lawnchair

This commit is contained in:
Tankred Hase 2013-10-12 15:59:08 +02:00
parent c78860ebcf
commit 378f529184
3 changed files with 10 additions and 3 deletions

View File

@ -317,7 +317,7 @@ Lawnchair.adapter('indexed-db', (function(){
var key = keyOrArray.key ? keyOrArray.key : keyOrArray;
for (var i = 0; i < toDelete.length; i++) {
var key = toDelete[i].key ? toDelete[i].key : toDelete[i];
os.delete(key);
os['delete'](key);
};
os.transaction.oncomplete = win;

View File

@ -184,4 +184,4 @@ Lawnchair.adapter('webkit-sqlite', (function () {
return this
}
//////
}})())
}})());

View File

@ -161,6 +161,13 @@ Lawnchair.prototype = {
}
// --
};
/**
* Expose nodeJS module
*/
if (typeof module !== 'undefined' && module.exports) {
module.exports = Lawnchair;
}
// window.name code courtesy Remy Sharp: http://24ways.org/2009/breaking-out-the-edges-of-the-browser
Lawnchair.adapter('window-name', (function() {
if (typeof window==='undefined') {
@ -290,4 +297,4 @@ Lawnchair.adapter('window-name', (function() {
}
}
/////
})())
})());