diff --git a/cookie_consent/static/cookie_consent/cookiebar.module.js b/cookie_consent/static/cookie_consent/cookiebar.module.js index af27203..3a7b9b8 100644 --- a/cookie_consent/static/cookie_consent/cookiebar.module.js +++ b/cookie_consent/static/cookie_consent/cookiebar.module.js @@ -1,203 +1,163 @@ -/** - * Cookiebar functionality, as a Javascript module. - * - * About modules: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules - * - * The code is organized here in a way to make the templates work with Django's page - * cache. This means that anything user-specific (so different django session and even - * cookie consent cookies) cannot be baked into the templates, as that breaks caches. - * - * The cookie bar operates on the following principles: - * - * - The developer using the library includes the desired template in their django - * templates, using the HTML