diff --git a/demo.js b/demo.js
index f1dcbee..083f481 100644
--- a/demo.js
+++ b/demo.js
@@ -6,8 +6,8 @@ riot.register('tiny-consent', TinyConsent);
riot.register('tiny-consent-button', TinyConsentButton);
const data = {
- text: {
- content: undefined
+ options: {
+ force: true
},
cookies: [{
title: 'Matomo',
@@ -23,6 +23,20 @@ const data = {
handleReject: function() {
console.log('reject');
}
+ },{
+ title: 'Matomo',
+ name: 'matamo_',
+ id: 'matamo2',
+ content: 'Cookie from Matamo for Website-Analytics. Creates statiscial Data how the User uses this Website',
+ provider: 'Tentakelfabrik.de',
+ duration: '1 Year',
+ privacy_policy: 'https://tentakelfabrik.de/datenschutzerklarung',
+ handleAgree: function() {
+ console.log('agree');
+ },
+ handleReject: function() {
+ console.log('reject');
+ }
},{
title: 'Tiny Consent',
id: 'tiny_consent',
diff --git a/dist/js/demo.js b/dist/js/demo.js
index 7bf97c3..fba6aa7 100644
--- a/dist/js/demo.js
+++ b/dist/js/demo.js
@@ -1 +1 @@
-!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=2)}([function(e,t,n){var o,r;!function(i){if(void 0===(r="function"==typeof(o=i)?o.call(t,n,t,e):o)||(e.exports=r),!0,e.exports=i(),!!0){var s=window.Cookies,a=window.Cookies=i();a.noConflict=function(){return window.Cookies=s,a}}}((function(){function e(){for(var e=0,t={};e