Merge pull request #607 from fourplusone/fix/list-removal

Fix list removal
This commit is contained in:
John McLear 2012-04-07 04:29:24 -07:00
commit 2435003403
1 changed files with 1 additions and 3 deletions

View File

@ -132,9 +132,7 @@ AttributeManager.prototype = _(AttributeManager.prototype).extend({
var hasMarker = this.lineHasMarker(lineNum);
if(hasMarker){
ChangesetUtils.buildKeepRange(this.rep, builder, loc, (loc = [lineNum, 0]), [
[attributeName, attributeValue]
], this.rep.apool);
ChangesetUtils.buildKeepRange(this.rep, builder, loc, (loc = [lineNum, 0]));
ChangesetUtils.buildRemoveRange(this.rep, builder, loc, (loc = [lineNum, 1]));
}