Commit b76ce18d authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Small hack to choose title of diff output file.

parent 36ea1208
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -80,9 +80,14 @@ old_classes.each_pair do |name, cls|
  end
end

# do HTML output
# Choose title based on filename
if out_file =~ /touch/
  title = "Comparison of Touch 1.1.1 and Touch 2.0.0"
else
  title = "Comparison of Ext 4.0.7 and Ext 4.1.0"
#title = "Comparison of Touch 1.1.1 and Touch 2.0.0"
end

# do HTML output
html = []
html << <<-EOHTML
<!DOCTYPE html>