Sha256: cbbe6e809a506709ddb1b37a2de8a28add0bc116deb39259f60fc01fac57a58a
Contents?: true
Size: 560 Bytes
Versions: 11
Compression:
Stored size: 560 Bytes
Contents
//= require md5 var Heroku = Heroku || {}; $(document).on("ready page:load", function() { var $avatars, defaultAvatarURL, email, gravatarURL; email = $.trim($('.glostick__account-details__email').text()); $avatars = $('.js-glostick-avatar'); defaultAvatarURL = 'https://www.herokucdn.com/images/ninja-avatar-48x48.png'; gravatarURL = "https://gravatar.com/avatar/" + (MD5(email)) + "?s=48&d=" + defaultAvatarURL; return $avatars.each(function(i, e) { return $(e).attr('src', gravatarURL); }); });
Version data entries
11 entries across 11 versions & 1 rubygems