From: Marius Gavrilescu Date: Sun, 29 Mar 2015 08:16:49 +0000 (+0300) Subject: Remove smap attributes X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=13bd614386ed048bdab35805369d796de1d6ad6d;p=plack-app-gruntmaster.git Remove smap attributes --- diff --git a/lib/Plack/App/Gruntmaster/HTML.pm b/lib/Plack/App/Gruntmaster/HTML.pm index 2734f77..a21b6cc 100644 --- a/lib/Plack/App/Gruntmaster/HTML.pm +++ b/lib/Plack/App/Gruntmaster/HTML.pm @@ -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; }