Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #10 from bbc/console_logs
Browse files Browse the repository at this point in the history
Remove console log
  • Loading branch information
Luke Ewer authored Feb 16, 2018
2 parents 021c9d6 + ec01408 commit 4a9e28a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions Chart.Bands.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* Chart.bands.js
* Version: v0.4.0-rc
* Version: v0.5.1-rc
*
* Copyright 2016 BBC
* Released under the MIT license
Expand Down Expand Up @@ -61,7 +61,6 @@ function addBandLine (ctx, scale, constraints, options) {

lineDrawer(ctx, yPos + (bandLine.stroke / 4), lineStartPos, lineStopPos, bandLine.stroke, bandLine.colour, dashLength);
if (bandLine.label) {
console.log('opts', options);
addBandLineLabel(ctx, constraints, options.bandLine, dashLength, lineDrawer);
}
}
Expand Down
4 changes: 2 additions & 2 deletions Chart.Bands.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Chart.Bands.js",
"description": "Simple HTML5 charts using the canvas element.",
"version": "v0.5.0-rc",
"version": "v0.5.1-rc",
"license": "MIT",
"main": "src/chart.Bands.js",
"repository": {
Expand Down
1 change: 0 additions & 1 deletion src/chart.bands.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ function addBandLine (ctx, scale, constraints, options) {

lineDrawer(ctx, yPos + (bandLine.stroke / 4), lineStartPos, lineStopPos, bandLine.stroke, bandLine.colour, dashLength);
if (bandLine.label) {
console.log('opts', options);
addBandLineLabel(ctx, constraints, options.bandLine, dashLength, lineDrawer);
}
}
Expand Down

0 comments on commit 4a9e28a

Please sign in to comment.