Got rid of todo.

This commit is contained in:
JesseBrault0709 2024-05-30 11:10:46 +02:00
parent 52145cf013
commit 8967338fae

View File

@ -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 ->