13 lines
276 B
CoffeeScript
13 lines
276 B
CoffeeScript
|
|
context = window
|
||
|
|
logger = context.JK.logger
|
||
|
|
|
||
|
|
@PopupWrapper = React.createClass({
|
||
|
|
|
||
|
|
getInitialState: () ->
|
||
|
|
{ready: false}
|
||
|
|
|
||
|
|
render: () ->
|
||
|
|
logger.debug("PopupProps", window.PopupProps)
|
||
|
|
return React.createElement(window[this.props.component], window.PopupProps)
|
||
|
|
|
||
|
|
})
|