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:
parent
28d7325647
commit
4775d8e925
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user