mirror of
https://github.com/silkimen/cordova-plugin-advanced-http.git
synced 2024-10-06 09:12:13 +08:00
Merge pull request #275 from ath0mas/patch-1
Fix WebStorageCookieStore getAllCookies()
This commit is contained in:
commit
3d1b195831
@ -146,7 +146,7 @@ module.exports = function init(ToughCookie, _) {
|
||||
|
||||
Object.keys(store).forEach(function (domain) {
|
||||
Object.keys(store[domain]).forEach(function (path) {
|
||||
Array.protype.push.apply(cookies, _.values(store[domain][path]));
|
||||
Array.prototype.push.apply(cookies, _.values(store[domain][path]));
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user