1
1
mirror of https://github.com/github/semantic.git synced 2024-11-29 02:44:36 +03:00

Correct how the diff is unpacked.

This commit is contained in:
Rob Rix 2015-10-23 19:25:21 -04:00
parent fe2915a427
commit c51d66fe8d

View File

@ -140,7 +140,7 @@
element.classList.add("pure");
element.appendChild(toDOM(model.pure[stateName], stateName, source));
} else if(model.roll != null) {
element = rangeAndSyntaxToDOM(model.ranges[stateName], mapped, source, function(child) { return toDOM(child, stateName, source); });
element = rangeAndSyntaxToDOM(model.roll.extract[stateName], model.roll.unwrap, source, function(child) { return toDOM(child, stateName, source); });
element.classList.add("diff");
element.classList.add("roll");
}