cleverstyle-widgets
Advanced tools
Comparing version 0.4.0 to 0.5.0
@@ -26,3 +26,3 @@ { | ||
], | ||
"version" : "0.4.0", | ||
"version" : "0.5.0", | ||
"homepage" : "https://github.com/nazar-pc/CleverStyle-Widgets", | ||
@@ -29,0 +29,0 @@ "author" : "Nazar Mokrynskyi <nazar@mokrynskyi.com>", |
@@ -15,2 +15,6 @@ // Generated by LiveScript 1.5.0 | ||
}, | ||
empty: { | ||
reflectToAttribute: true, | ||
type: Boolean | ||
}, | ||
iconBefore: { | ||
@@ -32,2 +36,3 @@ type: String | ||
var iconBefore; | ||
this.empty = !this.firstElementChild.childNodes.length; | ||
iconBefore = this.iconBefore || this.icon; | ||
@@ -38,3 +43,3 @@ if (iconBefore) { | ||
if (this.iconAfter) { | ||
this.firstElementChild.insertAdjacentHTML('beforeend', "<csw-icon icon=\"" + this.iconAfter + "\" mono></csw-icon> "); | ||
this.firstElementChild.insertAdjacentHTML('beforeend', " <csw-icon icon=\"" + this.iconAfter + "\" mono></csw-icon>"); | ||
} | ||
@@ -41,0 +46,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
271760
2709