diff --git a/build.gradle b/build.gradle index c80c08f3fc..09d5ba71b4 100644 --- a/build.gradle +++ b/build.gradle @@ -23,7 +23,7 @@ plugins { } group 'io.kweb' -version '0.2.8' +version '0.2.10' apply plugin: 'java' apply plugin: 'kotlin' diff --git a/src/main/kotlin/io/kweb/plugins/semanticUI/SemanticUIPlugin.kt b/src/main/kotlin/io/kweb/plugins/semanticUI/SemanticUIPlugin.kt index 361f2e8061..cb9736be3c 100644 --- a/src/main/kotlin/io/kweb/plugins/semanticUI/SemanticUIPlugin.kt +++ b/src/main/kotlin/io/kweb/plugins/semanticUI/SemanticUIPlugin.kt @@ -17,4 +17,4 @@ class SemanticUIPlugin : KWebPlugin(dependsOn = setOf(jqueryCore)) { val semanticUIPlugin = SemanticUIPlugin() -val sUI get() = SemanticUIClasses() +val semantic get() = SemanticUIClasses() diff --git a/src/main/kotlin/io/kweb/plugins/semanticUI/testing.kt b/src/main/kotlin/io/kweb/plugins/semanticUI/testing.kt index 2fe7d0ab84..6651125c83 100644 --- a/src/main/kotlin/io/kweb/plugins/semanticUI/testing.kt +++ b/src/main/kotlin/io/kweb/plugins/semanticUI/testing.kt @@ -13,11 +13,11 @@ import io.kweb.dom.element.new fun main(args: Array) { Kweb(port = 3525, plugins = listOf(semanticUIPlugin)) { doc.body.new { - div(sUI.ui.container).new { - div(sUI.ui.three.item.menu).new { - a(attributes = sUI.active.item).text("Editorials") - a(attributes = sUI.item).text("Reviews") - a(attributes = sUI.item).text("Upcoming Events") + div(semantic.ui.container).new { + div(semantic.ui.three.item.menu).new { + a(attributes = semantic.active.item).text("Editorials") + a(attributes = semantic.item).text("Reviews") + a(attributes = semantic.item).text("Upcoming Events") } } }