react-responsive-mixin
Advanced tools
Comparing version 0.3.4 to 0.3.5
@@ -22,5 +22,7 @@ var canUseDOM = require('can-use-dom'); | ||
componentWillUnmount: function () { | ||
this._responsiveMediaHandlers.forEach(function(obj) { | ||
enquire.unregister(obj.query, obj.handler); | ||
}); | ||
if (this._responsiveMediaHandlers) { | ||
this._responsiveMediaHandlers.forEach(function(obj) { | ||
enquire.unregister(obj.query, obj.handler); | ||
}); | ||
} | ||
} | ||
@@ -27,0 +29,0 @@ }; |
{ | ||
"name": "react-responsive-mixin", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"description": "Mixin to develop responsive react components", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
161426
175