Mercurial > pub > Impl
diff Lib/IMPL/Web/Handler/TTView.pm @ 233:3cebcf6fdb9b
refactoring, cleaning code
author | sergey |
---|---|
date | Thu, 11 Oct 2012 04:53:08 +0400 |
parents | 47f77e6409f7 |
children | a4d9126edcbb |
line wrap: on
line diff
--- a/Lib/IMPL/Web/Handler/TTView.pm Tue Oct 09 20:12:47 2012 +0400 +++ b/Lib/IMPL/Web/Handler/TTView.pm Thu Oct 11 04:53:08 2012 +0400 @@ -2,7 +2,7 @@ use strict; use List::Util qw(first); -use IMPL::lang qw(:declare :constants); +use IMPL::Const qw(:prop); use IMPL::declare { require => { Factory => 'IMPL::Object::Factory', @@ -15,14 +15,14 @@ ], props => [ - contentType => PROP_GET | PROP_OWNERSET, - contentCharset => PROP_GET | PROP_OWNERSET, - loader => PROP_GET | PROP_OWNERSET, - selectors => PROP_GET | PROP_LIST | PROP_OWNERSET, - defaultDocument => PROP_ALL, - indexResource => PROP_ALL, - _selectorsCache => PROP_ALL, - _classTemplates => PROP_ALL + contentType => PROP_RO, + contentCharset => PROP_RO, + loader => PROP_RO, + selectors => PROP_RO | PROP_LIST, + defaultDocument => PROP_RW, + indexResource => PROP_RW, + _selectorsCache => PROP_RW, + _classTemplates => PROP_RW ] };