mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
ESlint keyword-spacing, no-multi-spaces
This commit is contained in:
@@ -149,7 +149,7 @@ topicsController.get = function (req, res, callback) {
|
||||
},
|
||||
function (topicData, next) {
|
||||
function findPost(index) {
|
||||
for(var i = 0; i < topicData.posts.length; i += 1) {
|
||||
for (var i = 0; i < topicData.posts.length; i += 1) {
|
||||
if (parseInt(topicData.posts[i].index, 10) === parseInt(index, 10)) {
|
||||
return topicData.posts[i];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user