Permalink
Browse files

Style.

  • Loading branch information...
postmodern committed Apr 22, 2013
1 parent a188a65 commit 1552028b711b1e451f372e5de80e48e01c16afdb
Showing with 2 additions and 4 deletions.
  1. +2 −4 lib/nokogiri/diff/xml/node.rb
@@ -86,10 +86,8 @@ def diff(other,options={},&block)
if (options[:added] || options[:removed])
tdiff_unordered(other) do |change,node|
- if (change == '+' && options[:added])
- yield change, node
- elsif (change == '-' && options[:removed])
- yield change, node
+ if (change == '+' && options[:added]) then yield change, node
+ elsif (change == '-' && options[:removed]) then yield change, node
end
end
else

0 comments on commit 1552028

Please sign in to comment.