Comparing version 0.2.0 to 0.2.1
@@ -350,3 +350,5 @@ Object.defineProperty(exports, "__esModule", { | ||
var index = _this6._mqls[key].listeners.indexOf(instance); | ||
_this6._mqls[key].listeners.splice(index, 1); | ||
if (index > -1) { | ||
_this6._mqls[key].listeners.splice(index, 1); | ||
} | ||
if (_this6._mqls[key].listeners.length === 0) { | ||
@@ -353,0 +355,0 @@ _this6._mqls[key].mql.removeListener(_this6._handleMediaQueryChange); |
{ | ||
"name": "react-gpt", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "A react display ad component using Google Publisher Tag", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -260,3 +260,5 @@ import EventEmitter from "eventemitter3"; | ||
const index = this._mqls[key].listeners.indexOf(instance); | ||
this._mqls[key].listeners.splice(index, 1); | ||
if (index > -1) { | ||
this._mqls[key].listeners.splice(index, 1); | ||
} | ||
if (this._mqls[key].listeners.length === 0) { | ||
@@ -263,0 +265,0 @@ this._mqls[key].mql.removeListener(this._handleMediaQueryChange); |
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
396321
8743