Mercurial > pub > Impl
comparison Lib/IMPL/Web/View/TTDocument.pm @ 238:b8c724f6de36
DOM model refactoring
TT view refactoring, controls are no longer derived from DOM nodes
bugfixes
| author | sergey |
|---|---|
| date | Tue, 16 Oct 2012 01:33:06 +0400 |
| parents | 2904da230022 |
| children | f48a1a9f4fa2 |
comparison
equal
deleted
inserted
replaced
| 237:61db68166c37 | 238:b8c724f6de36 |
|---|---|
| 12 }, | 12 }, |
| 13 base => [ | 13 base => [ |
| 14 'IMPL::Web::View::TTControl' => sub { | 14 'IMPL::Web::View::TTControl' => sub { |
| 15 my ($template,$contextOpts) = @_; | 15 my ($template,$contextOpts) = @_; |
| 16 'document', | 16 'document', |
| 17 $_[0], # template | 17 $template, # template |
| 18 new Template::Context($_[1]) # context | 18 Template::Context->new($contextOpts) # context |
| 19 }, | |
| 20 'IMPL::DOM::Document' => sub { | |
| 21 nodeName => 'document' | |
| 22 } | 19 } |
| 23 ], | 20 ], |
| 24 props => [ | 21 props => [ |
| 25 layout => PROP_RW, | 22 layout => PROP_RW, |
| 26 opts => PROP_RO, | 23 opts => PROP_RO, |
