Permalink
Browse files

Fix error from trying to push to undefined tags array

  • Loading branch information...
1 parent a12c27e commit abea92d76b6e437140ee37ed6be6eaa2051ae65b @ianks ianks committed Feb 5, 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 abea92d

Please sign in to comment.