Permalink
Browse files

fix for the html test

  • Loading branch information...
1 parent 8bd7b5b commit 139b1c0b42f81b653602955d739838b3373d0678 @substack committed Feb 11, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.js
View
@@ -99,7 +99,7 @@ function difflet (opts, prev, next) {
this.after(function () {
if (indent && commaFirst) write('\n' + indentx);
- else write('\n' + indentx.slice(indent));
+ else if (indent) write('\n' + indentx.slice(indent));
write(']');
if (inserted) unset('inserted');
@@ -221,7 +221,7 @@ function difflet (opts, prev, next) {
}
if (inserted) unset('inserted');
- else if (changed) unset('changed');
+ else if (changed) unset('updated');
}
}

0 comments on commit 139b1c0

Please sign in to comment.