[Jifty-commit] r6052 - jifty/trunk/lib/Jifty/View/Declare
Jifty commits
jifty-commit at lists.jifty.org
Mon Dec 1 02:07:20 EST 2008
Author: ruz
Date: Mon Dec 1 02:07:20 2008
New Revision: 6052
Modified:
jifty/trunk/lib/Jifty/View/Declare/BaseClass.pm
Log:
* merge duplicated docs, clkao still owes more :)
Modified: jifty/trunk/lib/Jifty/View/Declare/BaseClass.pm
==============================================================================
--- jifty/trunk/lib/Jifty/View/Declare/BaseClass.pm (original)
+++ jifty/trunk/lib/Jifty/View/Declare/BaseClass.pm Mon Dec 1 02:07:20 2008
@@ -29,7 +29,7 @@
__PACKAGE__->use_mason_wrapper;
If you don't use mason then you can define a C<wrapper> function in the view class to override
-default page layouts.
+default page layouts. Default TD wrapper defined in L<Jifty::View::Declare::Helpers>.
=cut
@@ -62,44 +62,37 @@
use Attribute::Handlers;
our (%Static, %Action);
-=head2 Static
+=head1 ATTRIBUTES
-This function allows a developer to mark a Template::Declare template as static (unchanging), so that the compiled version can be cached on the client side and inserted with javascript
+clkao owes documentation as to the meaning of this and when it would be acceptable to use it.
-=cut
+=head2 Static
-sub Static :ATTR(CODE,BEGIN) { $Static{$_[2]}++; }
+TODO Document this...
-=head2 Action
+This is part of the client-caching system being developed for Perl to allow you to translate templates into JavaScript running on the client.
-This function allows a developer to mark a Template::Declare template as an action. clkao owes documentation as to the meaning of this and when it would be acceptable to use it.
+This function allows a developer to mark a L<Template::Declare> template as static (unchanging), so that the compiled version can be cached on the client side and inserted with javascript.
=cut
+sub Static :ATTR(CODE,BEGIN) { $Static{$_[2]}++; }
-sub Action :ATTR(CODE,BEGIN) { $Action{$_[2]}++; }
-
-=head2 show templatename arguments
-
-Render a C<Template::Declare> template.
-
-=head1 ATTRIBUTES
-
-=head2 Static
+=head2 Action
TODO Document this...
This is part of the client-caching system being developed for Perl to allow you to translate templates into JavaScript running on the client.
-=head2 Action
+This function allows a developer to mark a Template::Declare template as an action.
-TODO Document this...
+=cut
-This is part of the client-caching system being developed for Perl to allow you to translate templates into JavaScript running on the client.
+sub Action :ATTR(CODE,BEGIN) { $Action{$_[2]}++; }
=head1 SEE ALSO
-L<Template::Declare>, L<Jifty::View::Declare::Helpers>, L<Jifty::View::Declare>
+L<Jifty::View::Declare>, L<Template::Declare>, L<Jifty::View::Declare::Helpers>
=head1 LICENSE
More information about the Jifty-commit
mailing list