Download 2x images from Gravatar

This will make them look nicer on Retina screens. We may want to make
them even bigger if people are increasing the size of the page on
Travis, but doing that causes all kinds of alignment issues, so it's not
necessary to do now, I think.
This commit is contained in:
Henrik Hodne 2013-05-22 13:09:24 +02:00
parent c1814fa062
commit e659659861
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ Travis.reopen
userBinding: 'controller.user'
gravatarUrl: (->
"#{location.protocol}//www.gravatar.com/avatar/#{@get('user.gravatarId')}?s=48&d=mm"
"#{location.protocol}//www.gravatar.com/avatar/#{@get('user.gravatarId')}?s=96&d=mm"
).property('user.gravatarId')
locale: (->

View File

@ -10,7 +10,7 @@
).property('user.login', 'user.name')
gravatarUrl: (->
"#{location.protocol}//www.gravatar.com/avatar/#{@get('user.gravatarId')}?s=24&d=mm"
"#{location.protocol}//www.gravatar.com/avatar/#{@get('user.gravatarId')}?s=48&d=mm"
).property('user.gravatarId')
# hrm. how to parametrize bindAttr?