lint file
This commit is contained in:
parent
b14cd2f179
commit
35bc72ef30
|
@ -620,14 +620,14 @@ export function fillMissingDates(data, startDate, endDate) {
|
|||
export function areCookiesEnabled() {
|
||||
// see: https://github.com/Modernizr/Modernizr/blob/400db4043c22af98d46e1d2b9cbc5cb062791192/feature-detects/cookies.js
|
||||
try {
|
||||
document.cookie = 'cookietest=1';
|
||||
var ret = document.cookie.indexOf('cookietest=') !== -1;
|
||||
document.cookie = 'cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT';
|
||||
document.cookie = "cookietest=1";
|
||||
var ret = document.cookie.indexOf("cookietest=") !== -1;
|
||||
document.cookie = "cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT";
|
||||
return ret;
|
||||
} catch (e) {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
// This prevents a mini racer crash
|
||||
export default {};
|
||||
|
|
Loading…
Reference in New Issue