Skip to content

Commit

Permalink
Merge pull request #183 from nzzdev/release-3.2.2
Browse files Browse the repository at this point in the history
Release 3.2.2
  • Loading branch information
romankaravia authored Sep 8, 2020
2 parents 6c3b2e9 + eb98fb7 commit c3168af
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 20 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ WORKDIR /app

RUN apt-get update && apt-get -y install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev

# Copy package.json into work directory and install dependencies
# We do not copy package-lock.json here as we do want the specific binary stuff (canvas) for the specific plattform of the docker container
# Copy package.json and package-lock.json into work directory and install dependencies
COPY package.json /app/package.json
COPY package-lock.json /app/package-lock.json
RUN npm install --production

# Copy everthing else in work directory
Expand Down
16 changes: 0 additions & 16 deletions chartTypes/commonPostprocessings.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,6 @@ const highlightZeroGridLineIfPositiveAndNegative = {
.querySelector(".role-axis-grid")
.querySelectorAll("line");

const yAxisTicklines = axisElements
.item(axisIndex)
.querySelector(".role-axis-tick")
.querySelectorAll("line");

yAxisGridlines.item(zeroTickIndex).setAttribute(
"style",
yAxisGridlines
Expand All @@ -185,17 +180,6 @@ const highlightZeroGridLineIfPositiveAndNegative = {
`stroke: ${toolRuntimeConfig.axis.labelColor}`
)
);

yAxisTicklines.item(zeroTickIndex).setAttribute(
"style",
yAxisGridlines
.item(zeroTickIndex)
.getAttribute("style")
.replace(
`stroke: ${toolRuntimeConfig.axis.tickColor}`,
`stroke: ${toolRuntimeConfig.axis.labelColor}`
)
);
}

return document.body.innerHTML;
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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,6 +1,6 @@
{
"name": "q-chart",
"version": "3.2.1",
"version": "3.2.2",
"description": "",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit c3168af

Please sign in to comment.