vue-cookie-law
Advanced tools
Comparing version 1.13.1 to 1.13.2
@@ -5,2 +5,9 @@ # Changelog | ||
### [1.13.2](https://github.com/apertureless/vue-cookie-law/compare/v1.13.1...v1.13.2) (2020-03-31) | ||
### Bug Fixes | ||
* Remove ugly code and cleanup states ([7e33b8c](https://github.com/apertureless/vue-cookie-law/commit/7e33b8c95651f691f9d19ea317dbc879e5e1b86e)) | ||
### [1.13.1](https://github.com/apertureless/vue-cookie-law/compare/v1.13.0...v1.13.1) (2020-03-31) | ||
@@ -7,0 +14,0 @@ |
/*! | ||
* vue-cookie-law v1.13.1 | ||
* vue-cookie-law v1.13.2 | ||
* (c) 2020 Jakub Juszczak <jakub@posteo.de> | ||
@@ -247,3 +247,3 @@ * | ||
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CookieLaw.vue?vue&type=template&id=65c1fc57& | ||
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CookieLaw.vue?vue&type=template&id=6861765d& | ||
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"appear":"","name":_vm.transitionName}},[(_vm.isOpen)?_c('div',{staticClass:"Cookie",class:[_vm.containerPosition, _vm.cookieTheme]},[_vm._t("default",[_c('div',{staticClass:"Cookie__content"},[_vm._t("message",[_vm._v(_vm._s(_vm.message))])],2),_vm._v(" "),_c('div',{staticClass:"Cookie__buttons"},[(_vm.externalButtonLink)?_c('a',{class:_vm.buttonClass,attrs:{"target":_vm.target,"href":_vm.buttonLink}},[_vm._v(_vm._s(_vm.buttonLinkText))]):_vm._e(),_vm._v(" "),(_vm.internalButtonLink)?_c('router-link',{class:_vm.buttonClass,attrs:{"to":_vm.buttonLink}},[_vm._v(_vm._s(_vm.buttonLinkText))]):_vm._e(),_vm._v(" "),(_vm.buttonDecline)?_c('button',{class:_vm.buttonDeclineClass,on:{"click":_vm.decline}},[_vm._v(_vm._s(_vm.buttonDeclineText))]):_vm._e(),_vm._v(" "),_c('button',{class:_vm.buttonClass,on:{"click":_vm.accept}},[_vm._v(_vm._s(_vm.buttonText))])],1)],{"accept":_vm.accept,"close":_vm.close,"decline":_vm.decline,"open":_vm.open})],2):_vm._e()])} | ||
@@ -253,3 +253,3 @@ var staticRenderFns = [] | ||
// CONCATENATED MODULE: ./src/components/CookieLaw.vue?vue&type=template&id=65c1fc57& | ||
// CONCATENATED MODULE: ./src/components/CookieLaw.vue?vue&type=template&id=6861765d& | ||
@@ -589,3 +589,3 @@ // CONCATENATED MODULE: ./node_modules/tiny-cookie/es/util.js | ||
if (!this.getVisited() === true) { | ||
if (!this.getVisited()) { | ||
this.isOpen = true; | ||
@@ -595,3 +595,3 @@ } | ||
mounted: function mounted() { | ||
if (this.isAccepted() === true) { | ||
if (this.isAccepted()) { | ||
this.$emit('accept'); | ||
@@ -641,3 +641,3 @@ } | ||
return visited; | ||
return !(visited === null || visited === undefined); | ||
}, | ||
@@ -686,3 +686,3 @@ isAccepted: function isAccepted() { | ||
open: function open() { | ||
if (!this.getVisited() === true) { | ||
if (!this.getVisited()) { | ||
this.isOpen = true; | ||
@@ -689,0 +689,0 @@ } |
{ | ||
"name": "vue-cookie-law", | ||
"version": "1.13.1", | ||
"version": "1.13.2", | ||
"description": "🍪 👮 EU Cookie Law Plugin for Vue.js", | ||
@@ -5,0 +5,0 @@ "author": "Jakub Juszczak <jakub@posteo.de>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55862