-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
labels in english and diffs from base diff
- Loading branch information
ferregutie
committed
Jun 26, 2024
1 parent
ab800ed
commit 2078d8c
Showing
4 changed files
with
61 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
function generateDiff(versione,commit,parent) { | ||
const baseElement = document.getElementById('version-source-diff') | ||
const base = baseElement.options[baseElement.selectedIndex].value | ||
if (base != 'PARENT') { | ||
parent = commit | ||
commit = base | ||
} // /versioni/diff/{versione}/{commit}/{parent}/ | ||
window.open(`/djakart/diff/${versione}/${commit}/${parent}/`, '_blank'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters