Rename major to common

This commit is contained in:
Joshua Peek
2011-06-22 10:37:20 -05:00
parent a881cde6fd
commit 69f4c9cc6e
5 changed files with 150 additions and 81 deletions

View File

@@ -90,8 +90,8 @@ module Linguist
language = blob.language
# Only include common langauges
if language && language.common?
# Only include major langauges
if language && language.major?
@sizes[language] += blob.size
end
end