Fix space-infix-ops linter rule

This commit is contained in:
HeeL
2016-10-13 11:42:29 +02:00
parent 9a0d764bbd
commit 3fa1c1f927
77 changed files with 159 additions and 160 deletions

View File

@@ -96,14 +96,14 @@ var utils = require('../../public/src/utils');
return next();
}
for(var i=0; i<notifications.length; ++i) {
for(var i = 0; i < notifications.length; ++i) {
if (notifications[i].image && notifications[i].image.indexOf('http') !== 0) {
notifications[i].image = nconf.get('url') + notifications[i].image;
}
}
emailer.send('digest', userObj.uid, {
subject: '[' + meta.config.title + '] [[email:digest.subject, ' + (now.getFullYear()+ '/' + (now.getMonth()+1) + '/' + now.getDate()) + ']]',
subject: '[' + meta.config.title + '] [[email:digest.subject, ' + (now.getFullYear() + '/' + (now.getMonth() + 1) + '/' + now.getDate()) + ']]',
username: userObj.username,
userslug: userObj.userslug,
url: nconf.get('url'),