react-portalize
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -38,3 +38,11 @@ "use strict"; | ||
function Portalize() { | ||
return _React$Component.apply(this, arguments) || this; | ||
var _this; | ||
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { | ||
args[_key] = arguments[_key]; | ||
} | ||
_this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; | ||
_this.element = null; | ||
return _this; | ||
} | ||
@@ -41,0 +49,0 @@ |
@@ -28,3 +28,11 @@ import _inheritsLoose from "@babel/runtime/helpers/inheritsLoose"; | ||
function Portalize() { | ||
return _React$Component.apply(this, arguments) || this; | ||
var _this; | ||
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { | ||
args[_key] = arguments[_key]; | ||
} | ||
_this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; | ||
_this.element = null; | ||
return _this; | ||
} | ||
@@ -31,0 +39,0 @@ |
{ | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"main": "cjs/index.js", | ||
@@ -4,0 +4,0 @@ "module": "es/index.js", |
@@ -24,2 +24,4 @@ import React from 'react' | ||
element = null | ||
componentDidMount () { | ||
@@ -26,0 +28,0 @@ if (typeof document !== 'undefined' && this.element === null) { |
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
8079
130