made variable name more relevant

Co-authored-by: timvisee <tim@visee.me>
This commit is contained in:
Ashesh Vidyut 2019-03-21 00:12:12 +05:30 committed by timvisee
parent 0460bd2e97
commit 1cd4adfc2a
No known key found for this signature in database
GPG Key ID: B8DB720BC383E172
1 changed files with 2 additions and 2 deletions

View File

@ -37,12 +37,12 @@ module.exports.updateFavicon = function(percentageString) {
context.stroke(); context.stroke();
}; };
const drawNewGraph = function() { const drawNewFavicon = function() {
drawCircle('#efefef', lineWidth, 100 / 100); drawCircle('#efefef', lineWidth, 100 / 100);
drawCircle(color, lineWidth, percentage / 100); drawCircle(color, lineWidth, percentage / 100);
}; };
drawNewGraph(link); drawNewFavicon(link);
link.href = canvas.toDataURL(); link.href = canvas.toDataURL();
document.getElementsByTagName('head')[0].appendChild(link); document.getElementsByTagName('head')[0].appendChild(link);
} }