Comparing version 1.0.14 to 1.0.15
@@ -13,3 +13,9 @@ module.exports = { | ||
return function() { | ||
if (parent == null) { | ||
parent = o.el.parentElement; | ||
} | ||
return _this.$computed.orWatch(o.value, function(value, oldVal) { | ||
console.log(o.value + " " + value); | ||
console.log(parent); | ||
console.log(o.el.parentElement); | ||
if (value && comment.parentElement === parent) { | ||
@@ -28,7 +34,9 @@ return parent.replaceChild(o.el, comment); | ||
var index, value; | ||
parent = this; | ||
value = this.$path.getValue(o.value); | ||
if (!value) { | ||
index = structure.indexOf(o.el); | ||
return structure[index] = comment; | ||
index = structure.indexOf(o.el); | ||
if (index > -1) { | ||
parent = this; | ||
value = this.$path.getValue(o.value); | ||
if (!value) { | ||
return structure[index] = comment; | ||
} | ||
} | ||
@@ -35,0 +43,0 @@ }); |
{ | ||
"name": "ceri", | ||
"description": "Custom Elements enRIched", | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"homepage": "https://github.com/cerijs/", | ||
@@ -6,0 +6,0 @@ "author": { |
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
94714
2864