Add commit-diff view

This commit is contained in:
Nick O'Leary
2017-10-25 15:26:24 +01:00
parent b9a3563e5b
commit 57533fd831
14 changed files with 617 additions and 273 deletions

View File

@@ -153,8 +153,9 @@ function getCommit(project,sha) {
return activeProject.getCommit(sha);
}
function getFile(project,path) {
function getFile(project,filePath,sha) {
checkActiveProject(project);
return activeProject.getFile(filePath,sha);
}
function getActiveProject() {
@@ -339,6 +340,7 @@ module.exports = {
createProject: createProject,
updateProject: updateProject,
getFiles: getFiles,
getFile: getFile,
stageFile: stageFile,
unstageFile: unstageFile,
commit: commit,