summaryrefslogtreecommitdiffstats
path: root/theme/javascript/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'theme/javascript/app.js')
-rwxr-xr-xtheme/javascript/app.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/theme/javascript/app.js b/theme/javascript/app.js
index 6cf4120..38a9572 100755
--- a/theme/javascript/app.js
+++ b/theme/javascript/app.js
@@ -17,13 +17,6 @@ require([
if (state.githubId) {
// Initialize storage
storage.setBaseKey(state.githubId);
-
- // Star and watch count
- $.getJSON("https://api.github.com/repos/"+state.githubId)
- .done(function(repo) {
- $book.find(".count-star span").text(repo.stargazers_count);
- $book.find(".count-watch span").text(repo.subscribers_count);
- });
}
// Init sidebar