Remove smap attributes
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 21 Mar 2015 17:07:18 +0000 (19:07 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 21 Mar 2015 17:07:18 +0000 (19:07 +0200)
lib/Plack/App/Gruntmaster/HTML.pm

index 3195b623170da4c58059fd9f2cc8fcfe4e31d94b..4a22292702ed0d1446dfa619aba4ae4cfba57697 100644 (file)
@@ -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.