xcomponent
Advanced tools
Comparing version 6.0.44 to 6.0.45
{ | ||
"name": "xcomponent", | ||
"version": "6.0.44", | ||
"version": "6.0.45", | ||
"description": "Cross domain components.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -65,2 +65,3 @@ /* @flow */ | ||
this.component.xchild = this; | ||
this.setProps(this.getInitialProps(), getParentDomain()); | ||
@@ -194,2 +195,3 @@ | ||
window.xprops = this.props; | ||
this.component.xprops = this.props; | ||
for (let handler of this.onPropHandlers) { | ||
@@ -196,0 +198,0 @@ handler.call(this, this.props); |
@@ -108,2 +108,5 @@ /* @flow */ | ||
xchild : ChildComponent<P> | ||
xprops : P | ||
constructor(options : ComponentOptionsType<P>) { | ||
@@ -110,0 +113,0 @@ super(); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
5712192
21695