Comparing version 0.0.1-alpha.15 to 0.0.1-alpha.16
@@ -35,2 +35,6 @@ 'use strict'; | ||
var _reactAddonsShallowCompare = require('react-addons-shallow-compare'); | ||
var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); | ||
var _customPropTypes = require('../propTypes/customPropTypes'); | ||
@@ -56,2 +60,11 @@ | ||
}, { | ||
key: 'shouldComponentUpdate', | ||
value: function shouldComponentUpdate() { | ||
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { | ||
args[_key] = arguments[_key]; | ||
} | ||
return _reactAddonsShallowCompare2.default.apply(undefined, [this].concat(args)); | ||
} | ||
}, { | ||
key: 'componentDidUpdate', | ||
@@ -58,0 +71,0 @@ value: function componentDidUpdate() { |
@@ -35,2 +35,6 @@ 'use strict'; | ||
var _reactAddonsShallowCompare = require('react-addons-shallow-compare'); | ||
var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); | ||
var _customPropTypes = require('../propTypes/customPropTypes'); | ||
@@ -56,2 +60,11 @@ | ||
}, { | ||
key: 'shouldComponentUpdate', | ||
value: function shouldComponentUpdate() { | ||
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { | ||
args[_key] = arguments[_key]; | ||
} | ||
return _reactAddonsShallowCompare2.default.apply(undefined, [this].concat(args)); | ||
} | ||
}, { | ||
key: 'componentDidUpdate', | ||
@@ -58,0 +71,0 @@ value: function componentDidUpdate() { |
@@ -185,3 +185,4 @@ 'use strict'; | ||
return _this2.node = n; | ||
} | ||
}, | ||
viewBox: '0 0 ' + this.state.width + ' ' + this.state.height | ||
}), | ||
@@ -188,0 +189,0 @@ this.renderChildren() |
{ | ||
"name": "nud3", | ||
"version": "0.0.1-alpha.15", | ||
"version": "0.0.1-alpha.16", | ||
"description": "New D3 composable charts for React", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/inlineblock/nud3", |
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
167889
4059