Remove smap attributes
authorMarius Gavrilescu <marius@ieval.ro>
Sun, 29 Mar 2015 08:16:49 +0000 (11:16 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Sun, 29 Mar 2015 08:16:49 +0000 (11:16 +0300)
lib/Plack/App/Gruntmaster/HTML.pm

index 2734f77cf3655233527f934aac24b5ac065a641d..a21b6cc933da5393d48e6e67a4ddf84a6397d0ca 100644 (file)
@@ -74,7 +74,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')});
+       $_->attr('smap', undef) for $tree->look_down(sub {$_[0]->attr('smap')});
        $tree->as_HTML;
 }
 
This page took 0.011115 seconds and 4 git commands to generate.