Skip to content

Commit

Permalink
mention that parsed templates are very dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed May 18, 2013
1 parent 331429d commit 377cb3f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/Mojo/DOM.pm
Expand Up @@ -680,7 +680,7 @@ Render this element and its content to XML.
=head2 tree
my $tree = $dom->tree;
$dom = $dom->tree(['root', [qw(text lalala)]]);
$dom = $dom->tree(['root', ['text', 'foo']]);
Document Object Model. Note that this structure should only be used very
carefully since it is very dynamic.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/DOM/CSS.pm
Expand Up @@ -600,7 +600,7 @@ L<Mojo::DOM::CSS> implements the following attributes.
=head2 tree
my $tree = $css->tree;
$css = $css->tree(['root', [qw(text lalala)]]);
$css = $css->tree(['root', ['text', 'foo']]);
Document Object Model. Note that this structure should only be used very
carefully since it is very dynamic.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/DOM/HTML.pm
Expand Up @@ -341,7 +341,7 @@ L<Mojo::DOM::HTML> implements the following attributes.
=head2 tree
my $tree = $html->tree;
$html = $html->tree(['root', [qw(text lalala)]]);
$html = $html->tree(['root', ['text', 'foo']]);
Document Object Model. Note that this structure should only be used very
carefully since it is very dynamic.
Expand Down
5 changes: 3 additions & 2 deletions lib/Mojo/Template.pm
Expand Up @@ -618,9 +618,10 @@ Raw template.
=head2 tree
my $tree = $mt->tree;
$mt = $mt->tree($tree);
$mt = $mt->tree([['text', 'foo']]);
Parsed tree.
Template in parsed form. Note that this structure should only be used very
carefully since it is very dynamic.
=head2 trim_mark
Expand Down

0 comments on commit 377cb3f

Please sign in to comment.