Skip to content

Commit

Permalink
remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamar Lahav committed Nov 29, 2018
1 parent 727a380 commit 55be188
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/RadialGauge.js
Original file line number Diff line number Diff line change
Expand Up @@ -449,11 +449,9 @@ function drawRadialTitle(context, options) {
const validMember = /{([_a-zA-Z]+[_a-zA-Z0-9]*)}/g
function formatContext(options, format) {
// "{value} % {Title}"
console.log({options}, {format});

return format.replace(validMember, function (match, member){
const value = options[member];
console.log({match}, {member}, {value});
return (typeof value !== 'undefined') ? value : match;
})
}
Expand Down

0 comments on commit 55be188

Please sign in to comment.