Mercurial > pub > Impl
comparison Lib/IMPL/Web/View/TTFactory.pm @ 291:5d14baa35790
*TTView: fixed template selectors mechanism
author | cin |
---|---|
date | Thu, 21 Feb 2013 03:44:02 +0400 |
parents | 7b0dad6117d5 |
children | 86ff93b34f2a |
comparison
equal
deleted
inserted
replaced
290:7b0dad6117d5 | 291:5d14baa35790 |
---|---|
43 ); | 43 ); |
44 | 44 |
45 sub MergeParameters { | 45 sub MergeParameters { |
46 my ($this,$name,$refProps) = @_; | 46 my ($this,$name,$refProps) = @_; |
47 | 47 |
48 if (ref $name) { | |
49 $refProps = $name; | |
50 $name = (ref $refProps eq 'HASH' and ($refProps->{name} || $refProps->{id})) || '*anonymous*'; | |
51 } | |
52 | |
48 my $base = $this->base; | 53 my $base = $this->base; |
49 | 54 |
50 $this->context->localise(); | 55 $this->context->localise(); |
51 | 56 |
52 my $ctx = _clone_context($this->context); | 57 my $ctx = _clone_context($this->context); |