mirror of
https://github.com/moparisthebest/mail
synced 2024-12-02 05:42: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;
|
var key = keyOrArray.key ? keyOrArray.key : keyOrArray;
|
||||||
for (var i = 0; i < toDelete.length; i++) {
|
for (var i = 0; i < toDelete.length; i++) {
|
||||||
var key = toDelete[i].key ? toDelete[i].key : toDelete[i];
|
var key = toDelete[i].key ? toDelete[i].key : toDelete[i];
|
||||||
os.delete(key);
|
os['delete'](key);
|
||||||
};
|
};
|
||||||
|
|
||||||
os.transaction.oncomplete = win;
|
os.transaction.oncomplete = win;
|
||||||
|
@ -184,4 +184,4 @@ Lawnchair.adapter('webkit-sqlite', (function () {
|
|||||||
return this
|
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
|
// window.name code courtesy Remy Sharp: http://24ways.org/2009/breaking-out-the-edges-of-the-browser
|
||||||
Lawnchair.adapter('window-name', (function() {
|
Lawnchair.adapter('window-name', (function() {
|
||||||
if (typeof window==='undefined') {
|
if (typeof window==='undefined') {
|
||||||
@ -290,4 +297,4 @@ Lawnchair.adapter('window-name', (function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/////
|
/////
|
||||||
})())
|
})());
|
Loading…
Reference in New Issue
Block a user