Skip to content

Commit

Permalink
jsctags works with nodejs 0.10.x again.
Browse files Browse the repository at this point in the history
Applied patch as described in
mozilla#52.
  • Loading branch information
Tobias Adam authored and velichkov committed May 23, 2014
1 parent cd3ba9a commit 31e5cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsctags/ctags/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ var TagWriter = require('./writer').TagWriter;
var Trait = require('../traits').Trait;

exports.Tags = function (initialTags) {
this.tags = initialTags != null ? initialTags : [];
this.init();
};

exports.Tags.prototype = Object.create(Object.prototype, Trait.compose(Trait({
tags: [],
_search: function (id, pred) {
var shadowTag = { name: id };
var tags = this.tags;
Expand Down

0 comments on commit 31e5cd1

Please sign in to comment.