repo.or.cz
/
gitter.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Gitter migration: Setup redirects (rollout pt. 3)
[gitter.git]
/
shared
/
avatars
/
resolve-user-avatar-url.js
blob
feb273babeb51a597a3a826c7e6f44e6c6d1a317
1
'use strict'
;
2
3
var
resolveUserAvatarSrcSet
=
require
(
'./resolve-user-avatar-srcset'
);
4
5
module
.
exports
=
function
resolveUserAvatarUrl
(
user
,
size
) {
6
var
srcset
=
resolveUserAvatarSrcSet
(
user
,
size
);
7
return
srcset
.
src
;
8
};