Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Accidentally forgot to remove optional-cache call all the way

  • Loading branch information...
commit 86bfcf143ef74704d778e8fbe7ac526e833970b1 1 parent 3c9752f
@brntbeer authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/javascript/github-files.js
View
4 src/main/javascript/github-files.js
@@ -19,7 +19,7 @@
$.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"
@@ -27,7 +27,7 @@
,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)
}
});
}
Please sign in to comment.
Something went wrong with that request. Please try again.