diff --git a/js/main.js b/js/main.js new file mode 100644 index 0000000..a600ccf --- /dev/null +++ b/js/main.js @@ -0,0 +1,162 @@ +/** @jsx React.DOM */ +var StateIcon = React.createClass({ + render: function() { + var icon_names = {"TODO": "icon-check-empty", + "DOING": "icon-sign-blank", + "DONE": "icon-check"}; + return ; + } +}); + +var StoryData = React.createClass({ + render: function() { + if (this.props.data) { + return (
{this.props.data.content}+
" + data.content + "" + - "