projects
/
gruntmaster-page.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6533844
)
Remove smap attributes
author
Marius Gavrilescu
<marius@ieval.ro>
Sat, 21 Mar 2015 17:07:18 +0000
(19:07 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Sat, 21 Mar 2015 17:07:18 +0000
(19:07 +0200)
lib/Plack/App/Gruntmaster/HTML.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Plack/App/Gruntmaster/HTML.pm
b/lib/Plack/App/Gruntmaster/HTML.pm
index 3195b623170da4c58059fd9f2cc8fcfe4e31d94b..4a22292702ed0d1446dfa619aba4ae4cfba57697 100644
(file)
--- a/
lib/Plack/App/Gruntmaster/HTML.pm
+++ b/
lib/Plack/App/Gruntmaster/HTML.pm
@@
-68,6
+68,7
@@
sub _render {
$process->($tree, %args) if $process;
$_->detach for $tree->look_down(static => $args{static} ? 'no' : 'yes');
$_->attr('static', undef) for $tree->look_down(sub {$_[0]->attr('static')});
+ $_->attr('smap', undef) for $tree->look_down(sub {$_[0]->attr('defmap')});
$tree->as_HTML;
}
This page took
0.010854 seconds
and
4
git commands to generate.