lemonadejs
Advanced tools
Comparing version 3.4.0 to 3.5.0
/** | ||
* Lemonadejs v3.4.0 (ESM build) | ||
* Lemonadejs v3.5.0 (ESM build) | ||
* | ||
@@ -246,3 +246,7 @@ * Website: https://lemonadejs.net | ||
} else { | ||
e.setAttribute(t, v); | ||
if (v === '') { | ||
e.removeAttribute(t); | ||
} else { | ||
e.setAttribute(t, v); | ||
} | ||
} | ||
@@ -260,7 +264,5 @@ } | ||
let a = this.attributes; | ||
let f = null; | ||
if (a && a.length) { | ||
if (a && a.length) { | ||
for (let i = 0; i < a.length; i++) { | ||
k = a[i].name; | ||
f = k.substr(0,1); | ||
if (props && typeof(this[k]) !== 'undefined') { | ||
@@ -267,0 +269,0 @@ o[k] = this[k]; |
/** | ||
* LemonadeJS v3.4.0 | ||
* LemonadeJS v3.5.0 | ||
* | ||
@@ -257,3 +257,7 @@ * Website: https://lemonadejs.net | ||
} else { | ||
e.setAttribute(t, v); | ||
if (v === '') { | ||
e.removeAttribute(t); | ||
} else { | ||
e.setAttribute(t, v); | ||
} | ||
} | ||
@@ -271,7 +275,5 @@ } | ||
let a = this.attributes; | ||
let f = null; | ||
if (a && a.length) { | ||
for (let i = 0; i < a.length; i++) { | ||
k = a[i].name; | ||
f = k.substr(0,1); | ||
if (props && typeof(this[k]) !== 'undefined') { | ||
@@ -278,0 +280,0 @@ o[k] = this[k]; |
{ | ||
"name": "lemonadejs", | ||
"title": "Micro reactive, two-way binding and hooks JavaScript vanilla library.", | ||
"description": "Lemonade is a lightweight, micro reactive vanilla javascript library to create quick and reusable JS components without dependencies.", | ||
"title": "Micro reactive, two-way data binding JavaScript library.", | ||
"description": "Lemonade is a lightweight, micro reactive JavaScript library to create quick and reusable reactive JS components. No dependencies or transpile is require", | ||
"author": { | ||
@@ -42,3 +42,3 @@ "name": "Contact <contact@lemonadejs.net>", | ||
"types": "dist/lemonade.d.ts", | ||
"version": "3.4.0" | ||
"version": "3.5.0" | ||
} |
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
86454
2049