From 8967338faef1593deb4b7df87f4d9df93a247ac1 Mon Sep 17 00:00:00 2001 From: JesseBrault0709 <62299747+JesseBrault0709@users.noreply.github.com> Date: Thu, 30 May 2024 11:10:46 +0200 Subject: [PATCH] Got rid of todo. --- .../com/jessebrault/ssg/DefaultStaticSiteGenerator.groovy | 3 --- 1 file changed, 3 deletions(-) diff --git a/api/src/main/groovy/com/jessebrault/ssg/DefaultStaticSiteGenerator.groovy b/api/src/main/groovy/com/jessebrault/ssg/DefaultStaticSiteGenerator.groovy index a2cd1db..84793c7 100644 --- a/api/src/main/groovy/com/jessebrault/ssg/DefaultStaticSiteGenerator.groovy +++ b/api/src/main/groovy/com/jessebrault/ssg/DefaultStaticSiteGenerator.groovy @@ -242,9 +242,6 @@ class DefaultStaticSiteGenerator implements StaticSiteGenerator { if (pageView instanceof WvcPageView) { pageView.context = new DefaultWebViewComponentContext().tap { configureRootScope { - // TODO: scan components in same package, add them to the scope with factories which - // use the object factory to construct the component - // also: automatically set template like below for pages allWvc.each { wvcClass -> //noinspection GroovyAssignabilityCheck add(wvcClass, ComponentFactories.ofClosureClassType(wvcClass) { Map attr, Object[] args ->