mirror of
https://github.com/moparisthebest/mail
synced 2024-11-26 19:02:20 -05:00
update lawnchair
This commit is contained in:
parent
c78860ebcf
commit
378f529184
@ -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;
|
||||
|
@ -184,4 +184,4 @@ Lawnchair.adapter('webkit-sqlite', (function () {
|
||||
return this
|
||||
}
|
||||
//////
|
||||
}})())
|
||||
}})());
|
||||
|
@ -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() {
|
||||
}
|
||||
}
|
||||
/////
|
||||
})())
|
||||
})());
|
Loading…
Reference in New Issue
Block a user