/*** @jsx React.DOM */
var home = createReactClass({
getInitialState: function(props) {
return {
news: window.news,
};
},
render: function() {
return (
{
this.state.news.map(function(entry) {
return (
);
}.bind(this))
}
);
},
});
ReactDOM.render(
React.createElement(home, null),
document.getElementById('content')
);