1
1
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:
Rob Rix 2015-10-21 16:47:32 -04:00
parent d315f5aabe
commit 3cc4a02dc7

View File

@ -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;