aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/helpers
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-03-27 16:59:34 +0200
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-03-27 16:59:34 +0200
commit855690088c86b74ed77516a1104164a3a9b4606d (patch)
treeb86db49b301439c5db2375337f4581f7c99a8fbc /server/sonar-web/src/main/js/helpers
parentbad8ec4d1d7b6e7b335b4fa18d3c66e6b746ac12 (diff)
downloadsonarqube-855690088c86b74ed77516a1104164a3a9b4606d.tar.gz
sonarqube-855690088c86b74ed77516a1104164a3a9b4606d.zip
Fix code style
Diffstat (limited to 'server/sonar-web/src/main/js/helpers')
-rw-r--r--server/sonar-web/src/main/js/helpers/handlebars/avatarHelperNew.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/helpers/handlebars/avatarHelperNew.js b/server/sonar-web/src/main/js/helpers/handlebars/avatarHelperNew.js
index 6732b09be45..2b65dd68060 100644
--- a/server/sonar-web/src/main/js/helpers/handlebars/avatarHelperNew.js
+++ b/server/sonar-web/src/main/js/helpers/handlebars/avatarHelperNew.js
@@ -19,7 +19,7 @@
*/
import Handlebars from 'handlebars/runtime';
-function gravatarServer () {
+function gravatarServer() {
const getStore = require('../../app/utils/getStore').default;
const { getSettingValue } = require('../../store/rootReducer');
@@ -27,7 +27,7 @@ function gravatarServer () {
return (getSettingValue(store.getState(), 'sonar.lf.gravatarServerUrl') || {}).value;
}
-module.exports = function (emailHash, size) {
+module.exports = function(emailHash, size) {
// double the size for high pixel density screens
const url = gravatarServer().replace('{EMAIL_MD5}', emailHash).replace('{SIZE}', size * 2);
return new Handlebars.default.SafeString(