JS IDL2K better callbacks support + bugfixes according to review

This commit is contained in:
Sergey Mashkov
2015-05-13 15:03:11 +03:00
committed by Sergey Mashkov
parent a11e0a84b5
commit 0ce1edd417
26 changed files with 708 additions and 588 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ public fun Element.addClass(vararg cssClasses: String): Boolean {
val presentClasses = classes.trim()
classes = StringBuilder {
append(presentClasses)
if (presentClasses != "") {
if (!presentClasses.isEmpty()) {
append(" ")
}
missingClasses.joinTo(this, " ")