Mercurial > pub > Impl
diff Lib/IMPL/Web/View/TTDocument.pm @ 298:78f767765706
TT view refactoring
author | cin |
---|---|
date | Tue, 19 Mar 2013 02:02:37 +0400 |
parents | 5d14baa35790 |
children | bf3af33b9003 |
line wrap: on
line diff
--- a/Lib/IMPL/Web/View/TTDocument.pm Mon Mar 11 01:22:24 2013 +0400 +++ b/Lib/IMPL/Web/View/TTDocument.pm Tue Mar 19 02:02:37 2013 +0400 @@ -67,17 +67,12 @@ if ( my $template = $self->loader->template($path) ) { $factory = new IMPL::Web::View::TTFactory( - $template->class || TTControl, $template, $documentContext, join( '/', splice( @{[split(/\//,$path)]}, 0, -1 ) ), $require ); - if ($template->class) { - Loader->safe->Require($template->class); - } - $controls{$control} = $factory; return $factory;