不要怂,就是干,撸起袖子干!

Commit 46da2409 by Jan Aagaard Meier

Merge pull request #5413 from cbauerme/doc-generator-fix

Replaced function removed from lodash 4
2 parents 1182a4a1 9399da1b
Showing with 1 additions and 1 deletions
......@@ -48,7 +48,7 @@ Comment.prototype.getTag = function(tagName) {
};
Comment.prototype.getTags = function(tagName) {
return _.where(this.data.tags, { type: tagName });
return _.filter(this.data.tags, { type: tagName });
};
Comment.prototype.hasTag = function(tagName) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!