Merge pull request #209 from danprince/master

fix name of watchers field
This commit is contained in:
zhangyaning
2016-02-09 23:06:48 +08:00

View File

@@ -373,7 +373,7 @@ var run = function() {
username: username,
watchers: repo.info.watchers,
forks: repo.info.forks,
watchersLabel: repo.info.watchers == 0 || repo.info.watchers > 1 ? 'watchers' : 'watcher',
watchersLabel: repo.info.watchers == 0 || repo.info.watchers > 1 ? 'stars' : 'star',
forksLabel: repo.info.forks == 0 || repo.info.forks > 1 ? 'forks' : 'fork',
};