core/static/vendor/cookieconsent2/cookieconsent.js
Function DomBuilder
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var DomBuilder = (function () {
/*
The attribute we store events in.
*/
var eventAttribute = 'data-cc-event';
File cookieconsent.js
has 251 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function () {
// Stop from running again, if accidently included more than once.
if (window.hasCookieConsent) return;
window.hasCookieConsent = true;
Function setCookie
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
setCookie: function (name, value, expiryDays, domain, path) {