(fix-avatar-url filestack-api-key avatar-url)
(fix-avatar-url filestack-api-key avatar-url avatar-size)
First it fixes relative URLs, it prepends our production CDN domain to it if it's relative. Then if the url is pointing to one of our happy faces, it replaces the SVG extension with PNG to have it resizable. If it's not one of our happy faces, it uses the on-the-fly resize url.
First it fixes relative URLs, it prepends our production CDN domain to it if it's relative. Then if the url is pointing to one of our happy faces, it replaces the SVG extension with PNG to have it resizable. If it's not one of our happy faces, it uses the on-the-fly resize url.
(name-for user)
(name-for first-name last-name)
(name-for user
:guard
(fn* [p1__27299#]
(and (s/blank? (:first-name p1__27299#))
(s/blank? (:last-name p1__27299#))
(s/blank? (:name p1__27299#)))))
(name-for user :guard (fn* [p1__27300#] (not (s/blank? (:name p1__27300#)))))
(name-for first-name last-name :guard s/blank?)
(name-for first-name :guard s/blank? last-name)
(name-for first-name :guard s/blank? last-name :guard s/blank?)
(name-for user)
(name-for first-name last-name)
(name-for user
:guard
(fn* [p1__3099#]
(and (s/blank? (:first-name p1__3099#))
(s/blank? (:last-name p1__3099#))
(s/blank? (:name p1__3099#)))))
(name-for user :guard (fn* [p1__3100#] (not (s/blank? (:name p1__3100#)))))
(name-for first-name last-name :guard s/blank?)
(name-for first-name :guard s/blank? last-name)
(name-for first-name :guard s/blank? last-name :guard s/blank?)
Make a single name
field from first-name
and/or last-name
.
Use email as the name if the entire user is provided and there's no first or last name.
Make a single `name` field from `first-name` and/or `last-name`. Use email as the name if the entire user is provided and there's no first or last name.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close