Skip to content

Commit

Permalink
Much better markaby speed
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Pfenniger authored and judofyr committed Oct 27, 2008
1 parent 26cd515 commit 30b066e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/camping/mab.rb
Expand Up @@ -14,7 +14,7 @@ class Mab < Markaby::Builder
include Views
def tag!(*g,&b)
h=g[-1]
[:href,:action,:src].map{|a|(h[a]=self/h[a])rescue 0}
[:href,:action,:src].map{|a|(h[a]&&=self/h[a])rescue 0}
super
end
end
Expand Down

0 comments on commit 30b066e

Please sign in to comment.