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

Apparently we pass this parameter, so let’s use it.

This commit is contained in:
Rob Rix 2015-10-23 21:22:28 -04:00
parent 28d7325647
commit 4775d8e925

View File

@ -85,8 +85,8 @@
}
/// Term -> String -> DOM
function termToDOM(term, source) {
return rangeAndSyntaxToDOM(term.range, term.unwrap, source, function(term) { return term.range; }, function(term) { return termToDOM(term, source); });
function termToDOM(term, which, source) {
return rangeAndSyntaxToDOM(term.range, term.unwrap, source, function(term) { return term.range; }, function(term) { return termToDOM(term, which, source); });
}
/// Diff -> String -> String -> DOM