Merge pull request #8303 from erictleung/fix/remove-trailing-whitespace
Remove trailing whitespace from about.js
This commit is contained in:
@ -17,10 +17,10 @@ function getCertCount(userCount, cert) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getAllThreeCertsCount(userCount) {
|
function getAllThreeCertsCount(userCount) {
|
||||||
return userCount({
|
return userCount({
|
||||||
isFrontEndCert: true,
|
isFrontEndCert: true,
|
||||||
isDataVisCert: true,
|
isDataVisCert: true,
|
||||||
isBackEndCert: true
|
isBackEndCert: true
|
||||||
})
|
})
|
||||||
::timeCache(2, 'hours');
|
::timeCache(2, 'hours');
|
||||||
}
|
}
|
||||||
@ -54,12 +54,12 @@ export default function about(app) {
|
|||||||
allThreeCount
|
allThreeCount
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
.doOnNext(({
|
.doOnNext(({
|
||||||
frontEndCount,
|
frontEndCount,
|
||||||
dataVisCount,
|
dataVisCount,
|
||||||
backEndCount,
|
backEndCount,
|
||||||
allThreeCount
|
allThreeCount
|
||||||
}) => {
|
}) => {
|
||||||
res.render('resources/about', {
|
res.render('resources/about', {
|
||||||
frontEndCount: numberWithCommas(frontEndCount),
|
frontEndCount: numberWithCommas(frontEndCount),
|
||||||
dataVisCount: numberWithCommas(dataVisCount),
|
dataVisCount: numberWithCommas(dataVisCount),
|
||||||
|
Reference in New Issue
Block a user