react-diode
Advanced tools
Comparing version 0.2.0-beta.10 to 0.2.0-beta.11
@@ -100,2 +100,14 @@ 'use strict'; | ||
ContainerConstructor.getComponent = function getComponent() { | ||
return Component; | ||
}; | ||
ContainerConstructor.getChildren = function getChildren() { | ||
if (spec.children && spec.children.length) { | ||
return spec.children; | ||
} else { | ||
return []; | ||
} | ||
}; | ||
ContainerConstructor.query = query; | ||
@@ -102,0 +114,0 @@ ContainerConstructor.displayName = containerName; |
{ | ||
"name": "react-diode", | ||
"version": "0.2.0-beta.10", | ||
"version": "0.2.0-beta.11", | ||
"description": "Endpoint agnostic, unidirectional data fetching for React applications", | ||
@@ -5,0 +5,0 @@ "main": "lib/DiodePublic.js", |
41730
843