projects
/
plack-app-gruntmaster.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20777d8
)
Improve HTML::Element::fclass
author
Marius Gavrilescu
<marius@ieval.ro>
Sun, 8 Feb 2015 10:43:34 +0000
(12:43 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Sun, 8 Feb 2015 10:43:34 +0000
(12:43 +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 fe7e4964ebe02507e0f86b4d281667bb0636c593..81a33c0dc59a12e0d4822ea95f12989ecca76dcd 100644
(file)
--- a/
lib/Plack/App/Gruntmaster/HTML.pm
+++ b/
lib/Plack/App/Gruntmaster/HTML.pm
@@
-32,7
+32,7
@@
sub HTML::Element::iter3 {
}
sub HTML::Element::fid { shift->look_down(id => shift) }
-sub HTML::Element::fclass { shift->look_down(class =>
shift
) }
+sub HTML::Element::fclass { shift->look_down(class =>
qr/\b$_[0]\b/
) }
sub HTML::Element::namedlink {
my ($self, $id, $name) = @_;
This page took
0.010232 seconds
and
4
git commands to generate.