mirror of
https://github.com/github/semantic.git
synced 2024-11-25 11:04:00 +03:00
Don’t be gross.
This commit is contained in:
parent
b03bacbcf2
commit
968980e17b
@ -67,12 +67,9 @@
|
||||
return this;
|
||||
}
|
||||
|
||||
function Term(json, source) {
|
||||
this.source = source;
|
||||
function Term(json) {
|
||||
this.range = json.extract;
|
||||
this.syntax = syntax(json.unwrap, function(x) { return new Term(x, source); });
|
||||
this.syntax.source = source;
|
||||
this.syntax.range = this.range;
|
||||
this.syntax = syntax(json.unwrap, function(x) { return new Term(x); });
|
||||
return this;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user