imboard
Version:
Most convenient platform for webpage development.
11 lines (10 loc) • 340 B
JavaScript
var CommentDao = require(_path.src + "/dao/CommentDao.js");
module.exports.commentList = function($, el, param, req, next)
{
var template = this.getTemplate($, el);
CommentDao.getCommentList(param.boardId, param.articleSeq, param.searchData, function(commentList)
{
$(el).html(template({commentList : commentList}));
next();
});
};