Permalink
Browse files

Merge pull request #63 from ianks/master

Fix error from trying to push to undefined tags array
  • Loading branch information...
2 parents a12c27e + abea92d commit d6cee1d8d2c057014f44ad57c129dc5f231ed4ee @pcwalton pcwalton committed Feb 12, 2015
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/jsctags/ctags/index.js
@@ -48,6 +48,8 @@ exports.Tags = function (initialTags) {
};
exports.Tags.prototype = Object.create(Object.prototype, Trait.compose(Trait({
+ tags: [],
+
_search: function (id, pred) {
var shadowTag = { name: id };
var tags = this.tags;

0 comments on commit d6cee1d

Please sign in to comment.