Permalink
Browse files

Accidentally forgot to remove optional-cache call all the way

  • Loading branch information...
1 parent 3c9752f commit 86bfcf143ef74704d778e8fbe7ac526e833970b1 @brntbeer committed Oct 30, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/javascript/github-files.js
@@ -19,15 +19,15 @@
$.getGithubFileByFilePath =
function(user, repo, filePath, callback, startLineNum, endLineNum) {
if(githubCacheFilePath[filePath]){
- $.getGithubFile(user, repo, githubCacheFilePath[filePath], true, callback, startLineNum, endLineNum)
+ $.getGithubFile(user, repo, githubCacheFilePath[filePath], callback, startLineNum, endLineNum)
}else{
$.ajax({
type: "GET"
,url: "https://api.github.com/repos/" + user + "/" + repo + "/contents/"+filePath
,dataType: "jsonp"
,success: function(data){
githubCacheFilePath[filePath] = data.data.sha;
- $.getGithubFile(user, repo, githubCacheFilePath[filePath], cacheIt, callback, startLineNum, endLineNum)
+ $.getGithubFile(user, repo, githubCacheFilePath[filePath], callback, startLineNum, endLineNum)
}
});
}

0 comments on commit 86bfcf1

Please sign in to comment.