mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-07 19:43:36 +02:00
style(eslint): enforcing newline on chained calls
This commit is contained in:
@@ -56,7 +56,8 @@ function simplify(translations) {
|
||||
function nsToTitle(namespace) {
|
||||
return namespace.replace('admin/', '').split('/').map(function (str) {
|
||||
return str[0].toUpperCase() + str.slice(1);
|
||||
}).join(' > ').replace(/[^a-zA-Z> ]/g, ' ');
|
||||
}).join(' > ')
|
||||
.replace(/[^a-zA-Z> ]/g, ' ');
|
||||
}
|
||||
|
||||
var fallbackCacheInProgress = {};
|
||||
|
||||
Reference in New Issue
Block a user