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

Commit 9399da1b by Caleb Bauermeister

Replaced function removed from lodash 4

1 parent 1182a4a1
Showing with 1 additions and 1 deletions
...@@ -48,7 +48,7 @@ Comment.prototype.getTag = function(tagName) { ...@@ -48,7 +48,7 @@ Comment.prototype.getTag = function(tagName) {
}; };
Comment.prototype.getTags = 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) { 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!