mirror of
https://github.com/github/semantic.git
synced 2024-11-25 11:04:00 +03:00
Patch constructors take strings.
This commit is contained in:
parent
d315f5aabe
commit
3cc4a02dc7
@ -41,17 +41,17 @@
|
||||
return node;
|
||||
}
|
||||
|
||||
function Delete(before) {
|
||||
function Delete(before, a, b) {
|
||||
this.before = before;
|
||||
return this;
|
||||
}
|
||||
|
||||
function Insert(after) {
|
||||
function Insert(after, a, b) {
|
||||
this.after = after;
|
||||
return this;
|
||||
}
|
||||
|
||||
function Replace(before, after) {
|
||||
function Replace(before, after, a, b) {
|
||||
this.before = before;
|
||||
this.after = after;
|
||||
return this;
|
||||
|
Loading…
Reference in New Issue
Block a user