diff Lib/IMPL/Web/View/TTContext.pm @ 394:2c14f66efa08

minor changes
author cin
date Tue, 18 Feb 2014 18:17:20 +0400
parents ced5937ff21a
children 38cb0b80e88e
line wrap: on
line diff
--- a/Lib/IMPL/Web/View/TTContext.pm	Fri Feb 14 16:41:12 2014 +0400
+++ b/Lib/IMPL/Web/View/TTContext.pm	Tue Feb 18 18:17:20 2014 +0400
@@ -98,6 +98,8 @@
 	
 	my $ext = $this->tt_ext || "";
 	
+	#warn "find: $name";
+	
 	my $file;
 	
 	foreach my $dir (@inc) {
@@ -111,6 +113,8 @@
 		
 		$file =  $ext ? "$file.$ext" : $file;
 		
+		#warn "  file: $file";
+		
 		if (exists($this->modules->{$file})) {
 			my $info = $this->modules->{$file};
 			return $cache->{$name} = $info
@@ -298,7 +302,7 @@
     		initialized => 1
     	};
     }
-	
+    
     return $this->invoke_environment(
         sub {
        	    my $ctx = shift;