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;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
function Term(json, source) {
|
function Term(json) {
|
||||||
this.source = source;
|
|
||||||
this.range = json.extract;
|
this.range = json.extract;
|
||||||
this.syntax = syntax(json.unwrap, function(x) { return new Term(x, source); });
|
this.syntax = syntax(json.unwrap, function(x) { return new Term(x); });
|
||||||
this.syntax.source = source;
|
|
||||||
this.syntax.range = this.range;
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user