react-d3-core
Advanced tools
Comparing version 0.0.14 to 0.0.15
{ | ||
"name": "react-d3-core", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"description": "react chart core component", | ||
@@ -5,0 +5,0 @@ "main": "./index.jsx", |
@@ -33,7 +33,7 @@ "use strict"; | ||
componentDidMount() { | ||
const { | ||
var { | ||
xScaleSet, | ||
yScaleSet, | ||
onZoom | ||
} = this.props | ||
} = this.props; | ||
@@ -44,3 +44,3 @@ var zoom = d3.behavior.zoom() | ||
.scaleExtent([1, 10]) | ||
.on("zoom", onZoom); | ||
.on("zoom", () => { onZoom.call(this, xScaleSet, yScaleSet) }); | ||
@@ -47,0 +47,0 @@ d3.select(React.findDOMNode(this.refs.svgContainer)) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4295057