react-google-maps
Advanced tools
Comparing version 4.9.0 to 4.9.1
@@ -0,1 +1,11 @@ | ||
<a name="4.9.1"></a> | ||
## [4.9.1](https://github.com/tomchentw/react-google-maps/compare/v4.9.0...v4.9.1) (2016-02-21) | ||
### Bug Fixes | ||
* **componentLifecycleDecorator:** revert to componentWillReceiveProps ([105dc6b](https://github.com/tomchentw/react-google-maps/commit/105dc6b)) | ||
<a name="4.9.0"></a> | ||
@@ -2,0 +12,0 @@ # [4.9.0](https://github.com/tomchentw/react-google-maps/compare/v4.8.2...v4.9.0) (2016-02-21) |
@@ -30,3 +30,3 @@ "use strict"; | ||
var componentDidMount = Component.prototype.hasOwnProperty("componentDidMount") ? Component.prototype.componentDidMount : noop; | ||
var componentWillReceiveProps = Component.prototype.hasOwnProperty("componentWillReceiveProps") ? Component.prototype.componentWillReceiveProps : noop; | ||
var componentDidUpdate = Component.prototype.hasOwnProperty("componentDidUpdate") ? Component.prototype.componentDidUpdate : noop; | ||
var componentWillUnmount = Component.prototype.hasOwnProperty("componentWillUnmount") ? Component.prototype.componentWillUnmount : noop; | ||
@@ -46,3 +46,3 @@ | ||
Object.defineProperty(Component.prototype, "componentWillReceiveProps", { | ||
Object.defineProperty(Component.prototype, "componentDidUpdate", { | ||
enumerable: false, | ||
@@ -61,3 +61,3 @@ configurable: true, | ||
// Hook into client's implementation, if it has any | ||
componentWillReceiveProps.call(this, prevProps); | ||
componentDidUpdate.call(this, prevProps); | ||
@@ -64,0 +64,0 @@ register.call(this); |
{ | ||
"__template__gist__": "https://gist.github.com/tomchentw/368a93bb748ad9d576f1#file-package-json", | ||
"name": "react-google-maps", | ||
"version": "4.9.0", | ||
"version": "4.9.1", | ||
"description": "React.js Google Maps integration component", | ||
@@ -6,0 +6,0 @@ "main": "lib/index.js", |
@@ -23,3 +23,3 @@ export default function componentLifecycleDecorator({ registerEvents, instanceMethodName, updaters }) { | ||
const componentDidMount = Component.prototype.hasOwnProperty(`componentDidMount`) ? Component.prototype.componentDidMount : noop; | ||
const componentWillReceiveProps = Component.prototype.hasOwnProperty(`componentWillReceiveProps`) ? Component.prototype.componentWillReceiveProps : noop; | ||
const componentDidUpdate = Component.prototype.hasOwnProperty(`componentDidUpdate`) ? Component.prototype.componentDidUpdate : noop; | ||
const componentWillUnmount = Component.prototype.hasOwnProperty(`componentWillUnmount`) ? Component.prototype.componentWillUnmount : noop; | ||
@@ -39,3 +39,3 @@ | ||
Object.defineProperty(Component.prototype, `componentWillReceiveProps`, { | ||
Object.defineProperty(Component.prototype, `componentDidUpdate`, { | ||
enumerable: false, | ||
@@ -54,3 +54,3 @@ configurable: true, | ||
// Hook into client's implementation, if it has any | ||
componentWillReceiveProps.call(this, prevProps); | ||
componentDidUpdate.call(this, prevProps); | ||
@@ -57,0 +57,0 @@ register.call(this); |
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
376177